Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Chunk (0.1 sec)

  1. guava/src/com/google/common/io/BaseEncoding.java

          for (int remaining = len; remaining >= 3; remaining -= 3) {
            int chunk = (bytes[i++] & 0xFF) << 16 | (bytes[i++] & 0xFF) << 8 | (bytes[i++] & 0xFF);
            target.append(alphabet.encode(chunk >>> 18));
            target.append(alphabet.encode((chunk >>> 12) & 0x3F));
            target.append(alphabet.encode((chunk >>> 6) & 0x3F));
            target.append(alphabet.encode(chunk & 0x3F));
          }
          if (i < off + len) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

            // Write 11MB of data
            try (FileOutputStream fos = new FileOutputStream(largeFile)) {
                final byte[] chunk = new byte[1024 * 1024]; // 1MB
                for (int i = 0; i < 11; i++) { // Write 11MB
                    fos.write(chunk);
                }
            }
    
            try {
                FileUtil.readBytes(largeFile);
                fail("Expected IORuntimeException for large file");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. tests/generics_test.go

    	}
    
    	total := 0
    	err := gorm.G[User](DB).Where("name like ?", "GenericsFindBatch%").FindInBatches(ctx, 2, func(chunk []User, batch int) error {
    		if len(chunk) > 2 {
    			t.Errorf("batch size exceed 2: got %d", len(chunk))
    		}
    
    		total += len(chunk)
    		return nil
    	})
    	if err != nil {
    		t.Fatalf("FindInBatches failed: %v", err)
    	}
    
    	if total != len(users) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

      }
    
      private inner class NonCompletingRequestBody : RequestBody() {
        private val chunk: ByteArray? = ByteArray(1024 * 1024)
        var ioe: IOException? = null
    
        override fun contentType(): MediaType? = "text/plain".toMediaType()
    
        override fun contentLength(): Long = chunk!!.size * 8L
    
        override fun writeTo(sink: BufferedSink) {
          try {
            var i = 0
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        }
    
        // ensures that the number of invocations looks sane
        void assertInvariants(int expectedBytes) {
          // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
          assertEquals(out.toByteArray().length, ceilToMultiple(expectedBytes, chunkSize));
          assertEquals(expectedBytes / chunkSize, processCalled);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. .github/workflows/update-rbe.yml

        - name: Update the RBE Configs
          run: |
            function map() {
              # The "digest" that allows us to pull an image is not the digest as
              # returned by the API, but a sha256sum of the entire chunk of image
              # metadata. gcr.io helpfully includes it in the header of the response
              # as docker-content-digest: sha256:[digest]. Note we use egrep to
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Dec 01 09:57:00 UTC 2025
    - 7.2K bytes
    - Viewed (1)
  7. CHANGELOG/CHANGELOG-1.35.md

    ### Documentation
    
    - Promoted the `--chunk-size` flag to stable. The kubectl `describe`, `get`, `drain`, and `events` commands can use `--chunk-size` flag to set chunk size. ([#134481](https://github.com/kubernetes/kubernetes/pull/134481), [@soltysh](https://github.com/soltysh))
    
    ### Bug or Regression
    
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 17 13:01:55 UTC 2025
    - 228.5K bytes
    - Viewed (0)
  8. lib/fips140/v1.1.0-rc1.zip

    size224 } func (d *Digest) BlockSize() int { return blockSize } func (d *Digest) Write(p []byte) (nn int, err error) { nn = len(p) d.len += uint64(nn) if d.nx > 0 { n := copy(d.x[d.nx:], p) d.nx += n if d.nx == chunk { block(d, d.x[:]) d.nx = 0 } p = p[n:] } if len(p) >= chunk { n := len(p) &^ (chunk - 1) for n > maxAsmSize { block(d, p[:maxAsmSize]) p = p[maxAsmSize:] n -= maxAsmSize } block(d, p[:n]) p = p[n:] } if len(p) > 0 { d.nx = copy(d.x[:], p) } return } func (d *Digest) Sum(in []byte) []byte...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  9. RELEASE.md

            previous gradient implementation.
        *   Added a new session config setting `internal_fragmentation_fraction`,
            which controls when the BFC Allocator needs to split an oversized chunk
            to satisfy an allocation request.
        *   Added `tf.get_current_name_scope()` which returns the current full name
            scope string that will be prepended to op names.
    *   `tf.data`:
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
Back to top