Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 149 for Sizes (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        override fun close() {
          if (closed) return
          closed = true
          detachTimeout(timeout)
          state = STATE_READ_RESPONSE_HEADERS
        }
      }
    
      /**
       * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility
       * to buffer chunks; typically by using a buffered sink with this sink.
       */
      private inner class ChunkedSink : Sink {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		buf2[n-1] = '\x00'
    	}
    }
    
    func BenchmarkEqualBothUnaligned(b *testing.B) {
    	sizes := []int{64, 4 << 10}
    	if !isRaceBuilder {
    		sizes = append(sizes, []int{4 << 20, 64 << 20}...)
    	}
    	maxSize := 2 * (sizes[len(sizes)-1] + 8)
    	if len(bmbuf) < maxSize {
    		bmbuf = make([]byte, maxSize)
    	}
    
    	for _, n := range sizes {
    		for _, off := range []int{0, 1, 4, 7} {
    			buf1 := bmbuf[off : off+n]
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/Base64Test.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link Base64}.
     *
     * These tests cover the public static encode/decode methods for different
     * payload sizes, padding rules, and error conditions such as null and empty
     * input.
     */
    @ExtendWith(MockitoExtension.class)
    class Base64Test {
    
        /**
         * Data provider for various byte arrays and the expected Base64 string.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            assertArrayEquals(machineId, actualMachineId);
        }
    
        /**
         * Test with customData and machineId that are not exactly 8 and 32 bytes respectively.
         * The constructor requires exact sizes, so we need to pad them manually.
         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor_ShorterInputs() {
            // Prepare padded arrays
            byte[] customData = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Then - should still read 4 bytes regardless of reserved field value
            assertEquals(4, bytesRead);
        }
    
        @Test
        @DisplayName("Should handle edge case structure sizes")
        void testEdgeCaseStructureSizes() {
            // Test minimum invalid size (0)
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(0, buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. cmd/data-scanner_test.go

    				bucket:      bucket,
    				prefix:      "",
    				objectName:  obj,
    				lifeCycle:   lc,
    				replication: test.replCfg,
    			}
    
    			var (
    				sizeS sizeSummary
    				gots  []ObjectInfo
    			)
    			item.applyActions(t.Context(), objAPI, test.objInfos, test.lr, &sizeS, func(oi ObjectInfo, sz, _ int64, _ *sizeSummary) {
    				if sz != 0 {
    					gots = append(gots, oi)
    				}
    			})
    
    			if len(gots) != len(test.wants) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. docs/distributed/DESIGN.md

    of drives available, let's say for example if there are 32 servers and 32 drives which is a total of 1024 drives. In this scenario 16 becomes the erasure set size. This is decided based on the greatest common divisor (GCD) of acceptable erasure set sizes ranging from *4 to 16*.
    
    - *If total drives has many common divisors the algorithm chooses the minimum amounts of erasure sets possible for a erasure set size of any N*.  In the example with 1024 drives - 4, 8, 16 are GCD factors. With 16 drives...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (1)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test constructor with different buffer sizes")
        void testConstructorWithDifferentBufferSizes() {
            when(mockConfig.getMaximumBufferSize()).thenReturn(32768);
            when(mockConfig.getListSize()).thenReturn(16384);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    		}
    		files = append(files, f)
    	}
    
    	// Type-check package files.
    	var sizes types.Sizes
    	if w.context != nil {
    		sizes = types.SizesFor(w.context.Compiler, w.context.GOARCH)
    	}
    	conf := types.Config{
    		IgnoreFuncBodies: true,
    		FakeImportC:      true,
    		Importer:         w,
    		Sizes:            sizes,
    	}
    	tpkg, err := conf.Check(name, fset, files, nil)
    	if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

     * {@link
     * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}),
     * this annotation specifies each of the different sizes for which a test suite should be built. (In
     * a typical case, the features should include {@link CollectionSize#ANY}.) These semantics are thus
     * a little different from those of other Collection-related features such as {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top