Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 1,330 for reaper (0.06 seconds)

  1. src/archive/zip/writer_test.go

    		}
    	}
    }
    
    func testCreate(t *testing.T, w *Writer, wt *WriteTest) {
    	header := &FileHeader{
    		Name:   wt.Name,
    		Method: wt.Method,
    	}
    	if wt.Mode != 0 {
    		header.SetMode(wt.Mode)
    	}
    	f, err := w.CreateHeader(header)
    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = f.Write(wt.Data)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

        assertThat(request.url.toString()).isEqualTo("http://127.0.0.1/")
      }
    
      @Test fun testHostname() {
        val headers = headersOf("Host", "host-from-header.com")
        val socket =
          MockWebServerSocket(
            FakeSocket(
              localAddress =
                InetAddress.getByAddress(
                  "host-from-address.com",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("RqLs")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 32 bytes (lease V1 structure)
            return 16 + 4 + 4 + 32;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/ServerResponseValidator.java

                throw new SmbException("File operation exceeds file bounds");
            }
        }
    
        /**
         * Validate SMB header fields
         *
         * @param protocolId protocol identifier
         * @param structureSize structure size field
         * @param command command code
         * @throws SmbException if header is invalid
         */
        public void validateSmbHeader(int protocolId, int structureSize, int command) throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                context = new PreauthIntegrityNegotiateContext(mockConfig, null, new byte[16]);
    
                assertNull(context.getHashAlgos());
                assertEquals(20, context.size()); // 4 header + 16 salt
            }
    
            @Test
            @DisplayName("Should handle null salt")
            void testNullSalt() {
                int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_body_fields/test_tutorial001.py

        assert response.json() == {
            "detail": [
                {
                    "type": "greater_than",
                    "loc": ["body", "item", "price"],
                    "msg": "Input should be greater than 0",
                    "input": -3.0,
                    "ctx": {"gt": 0.0},
                }
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies { #classes-as-dependencies }
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example { #a-dict-from-the-previous-example }
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. benchmarks/README.md

      `performance` CPU governor.
    * Vary the problem input size with `@Param`.
    * Use the integrated profilers in JMH to dig deeper if benchmark results to not match your hypotheses:
        * Add `-prof gc` to the options to check whether the garbage collector runs during a microbenchmarks and skews
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon May 03 15:30:50 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest request = new CurlRequest(Method.POST, "https://example.com");
    
            // Add multiple headers
            request.header("Accept", "application/json").header("Content-Type", "application/json").header("Authorization", "Bearer token123")
                    .header("X-Custom-Header", "custom-value");
    
            assertNotNull(request);
        }
    
        @Test
        public void testGzipSetsCompressionToGzip() {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .header("Range", "bytes=0-")
            .build()
        val call = client.newCall(request)
    
        // The response is not decompressed.
        val response = call.execute()
        assertThat(response.header("Content-Encoding")).isEqualTo("gzip")
        assertThat(response.body.source().readByteString()).isEqualTo(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
Back to Top