Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,571 for data1 (0.09 seconds)

  1. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            int type2 = AvPair.MsvAvEOL;
            byte[] raw2 = new byte[] {};
            AvPair avPair2 = new AvPair(type2, raw2);
    
            assertEquals(type2, avPair2.getType(), "Type should match the constructor argument for empty raw data.");
            assertArrayEquals(raw2, avPair2.getRaw(), "Raw data should match the constructor argument for empty raw data.");
    
            // Test with null raw data
            int type3 = AvPair.MsvAvFlags;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

             * Sets the URL for this request data.
             *
             * @param url the URL string to be set
             * @return the current RequestDataContext instance for method chaining
             */
            public RequestDataContext url(final String url) {
                data.setUrl(url);
                return this;
            }
    
            /**
             * Sets the weight for the request data.
             *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. internal/crypto/sse-s3.go

    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    	if keyID != "" && len(kmsKey) == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  4. tests/test_dependency_contextmanager.py

        assert state["context_a"] == "finished a"
    
    
    def test_background_tasks():
        response = client.get("/context_b_bg")
        data = response.json()
        assert data["context_b"] == "started b"
        assert data["context_a"] == "started a"
        assert data["bg"] == "not set"
        middleware_state = json.loads(response.headers["x-state"])
        assert middleware_state["context_b"] == "started b"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. tests/test_pydantic_v1_error.py

            @app.post("/union")
            def endpoint(data: dict | ModelV1A):  # pragma: no cover
                return data
    
    
    def test_raises_pydantic_v1_model_in_sequence() -> None:
        class ModelV1A(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.post("/sequence")
            def endpoint(data: list[ModelV1A]):  # pragma: no cover
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  6. tests/test_query_cookie_header_model_extra_params.py

        model_config = {"extra": "allow"}
    
    
    @app.get("/query")
    async def query_model_with_extra(data: Model = Query()):
        return data
    
    
    @app.get("/header")
    async def header_model_with_extra(data: Model = Header()):
        return data
    
    
    @app.get("/cookie")
    async def cookies_model_with_extra(data: Model = Cookie()):
        return data
    
    
    def test_query_pass_extra_list():
        client = TestClient(app)
        resp = client.get(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/json-base64-bytes.md

    Если вы откроете `/docs`, вы увидите, что поле `data` ожидает байты, закодированные в base64:
    
    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    </div>
    
    Вы можете отправить такой HTTP-запрос:
    
    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip | Совет
    
    `aGVsbG8=` — это base64-кодирование строки `hello`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = 0x123456789ABCDEF0L;
    
            // Encode test data
            SMBUtil.writeInt8(expectedIndexNumber, buffer, 0);
    
            // Decode
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. logger/slog.go

    	if l.LogLevel >= Info {
    		l.log(ctx, slog.LevelInfo, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Warn(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Warn {
    		l.log(ctx, slog.LevelWarn, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Error(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Error {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientTwoFrameHelloWithPongs() {
        data.write("010348656c".decodeHex()) // Hel
        data.write("8a00".decodeHex()) // Pong
        data.write("8a00".decodeHex()) // Pong
        data.write("8a00".decodeHex()) // Pong
        data.write("8a00".decodeHex()) // Pong
        data.write("80026c6f".decodeHex()) // lo
        clientReader.processNextFrame()
        callback.assertPong(EMPTY)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top