Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 120 for chunkOf (0.16 sec)

  1. guava/src/com/google/common/hash/Crc32cHashFunction.java

        Crc32cHasher() {
          super(16);
        }
    
        private boolean finished = false;
    
        /*
         * This trick allows us to avoid having separate states for "first four ints" and "all other
         * four int chunks."  The state we want after the first four bytes is
         *
         * crc0 = ~int0
         * crc1 = int1
         * crc2 = int2
         * crc3 = int3
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      }
    
      @Test
      fun nonHexadecimalChunkSize() {
        server.enqueue(
          MockResponse()
            .setBody("G\r\nxxxxxxxxxxxxxxxx\r\n0\r\n\r\n")
            .clearHeaders()
            .addHeader("Transfer-encoding: chunked"),
        )
        val connection = server.url("/").toUrl().openConnection()
        val inputStream = connection.getInputStream()
        try {
          inputStream.read()
          fail<Any>()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      @Test
      fun nonHexadecimalChunkSize() {
        server.enqueue(
          MockResponse.Builder()
            .body("G\r\nxxxxxxxxxxxxxxxx\r\n0\r\n\r\n")
            .clearHeaders()
            .addHeader("Transfer-encoding: chunked")
            .build(),
        )
        val connection = server.url("/").toUrl().openConnection()
        try {
          connection.getInputStream().read()
          fail<Unit>()
        } catch (expected: IOException) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/os/os_windows_test.go

    						*read = uint32(n)
    						t.Logf("read %d -> %d", toread, *read)
    						return nil
    					}
    
    					var all []string
    					var buf []byte
    					chunk := make([]byte, readSize)
    					for {
    						n, err := testConsole.Read(chunk)
    						buf = append(buf, chunk[:n]...)
    						if err == io.EOF {
    							all = append(all, string(buf))
    							if len(all) >= 5 {
    								break
    							}
    							buf = buf[:0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. src/encoding/csv/reader_test.go

    	Name:   "QuotedFieldMultipleLF",
    	Input:  "ยง\"\n\n\n\n\"",
    	Output: [][]string{{"\n\n\n\n"}},
    }, {
    	Name:  "MultipleCRLF",
    	Input: "\r\n\r\n\r\n\r\n",
    }, {
    	// The implementation may read each line in several chunks if it doesn't fit entirely
    	// in the read buffer, so we should test the code to handle that condition.
    	Name:    "HugeLines",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 04:25:13 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    	// If the number of CPUs requested cannot be handed out in chunks of
    	// 'cpuGroupSize', then we just call out the packing algorithm since we
    	// can't distribute CPUs in this chunk size.
    	if (numCPUs % cpuGroupSize) != 0 {
    		return takeByTopologyNUMAPacked(topo, availableCPUs, numCPUs)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/composite_builds.adoc

    Composite builds allow you to:
    
    * Combine builds that are usually developed independently, for instance, when trying out a bug fix in a library that your application uses.
    * Decompose a large multi-project build into smaller, more isolated chunks that can be worked on independently or together as needed.
    
    A build that is included in a composite build is referred to as an *included build*.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 02:23:19 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. src/runtime/signal_windows.go

    		if gp.sigcode1 < 0x1000 {
    			panicmem()
    		}
    		if gp.paniconfault {
    			panicmemAddr(gp.sigcode1)
    		}
    		if inUserArenaChunk(gp.sigcode1) {
    			// We could check that the arena chunk is explicitly set to fault,
    			// but the fact that we faulted on accessing it is enough to prove
    			// that it is.
    			print("accessed data from freed user arena ", hex(gp.sigcode1), "\n")
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  9. src/time/format_test.go

    	// the exact detection of format chunk boundaries in the
    	// helper function nextStdChunk (here called as NextStdChunk).
    	// This test checks nextStdChunk's behavior directly,
    	// instead of needing to test it only indirectly through Parse/Format.
    
    	// markChunks returns format with each detected
    	// 'format chunk' parenthesized.
    	// For example showChunks("2006-01-02") == "(2006)-(01)-(02)".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. src/net/http/request_test.go

    	// Body:
    	clientReq := *req
    	clientReq.Body = nil
    
    	var out strings.Builder
    	if err := clientReq.Write(&out); err != nil {
    		t.Fatal(err)
    	}
    
    	if strings.Contains(out.String(), "chunked") {
    		t.Error("wrote chunked request; want no body")
    	}
    	back, err := ReadRequest(bufio.NewReader(strings.NewReader(out.String())))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top