- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 98 for SizeIs (0.05 sec)
-
src/bytes/boundary_test.go
for i := range b { idx := Index(b[i:], q[:j]) if idx != -1 { t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx) } } q[j-1] = 0 } // Test differing alignments and sizes of q which always end on a page boundary. q[len(q)-1] = 1 // difference is only found on the last byte for j := 0; j < len(q); j++ { for i := range b { idx := Index(b[i:], q[j:]) if idx != -1 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Nov 30 20:05:58 UTC 2023 - 2.8K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 8K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
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 Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
internal/http/dial_linux.go
// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can // affect clients reading data with a very slow pace (disappropriate with socket buffer sizes) if opts.UserTimeout > 0 { _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, opts.UserTimeout) } if opts.Interface != "" { if h, _, err := net.SplitHostPort(address); err == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5K bytes - Viewed (0) -
cmd/routers.go
// prefix. setBrowserRedirectMiddleware, // Adds 'crossdomain.xml' policy middleware to serve legacy flash clients. setCrossDomainPolicyMiddleware, // Limits all body and header sizes to a maximum fixed limit setRequestLimitMiddleware, // Validate all the incoming requests. setRequestValidityMiddleware, // Add upload forwarding middleware for site replication setUploadForwardingMiddleware,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.sh
#FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djavax.net.ssl.trustStore=/tech/elastic/config/truststore.jks" #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djavax.net.ssl.trustStorePassword=changeit" # min and max heap sizes should be set to the same value to avoid # stop-the-world GC pauses during resize, and so that we can lock the # heap in memory on startup to prevent any of it from being swapped # out.
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 4.7K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.bat
set FESS_MIN_MEM=256m ) if "%FESS_MAX_MEM%" == "" ( set FESS_MAX_MEM=1g ) if NOT "%FESS_HEAP_SIZE%" == "" ( set FESS_MIN_MEM=%FESS_HEAP_SIZE% set FESS_MAX_MEM=%FESS_HEAP_SIZE% ) REM min and max heap sizes should be set to the same value to avoid REM stop-the-world GC pauses during resize, and so that we can lock the REM heap in memory on startup to prevent any of it from being swapped REM out.
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt
@BeforeEach fun setUp() { // Sockets on some platforms can have large buffers that mean writes do not block when // required. These socket factories explicitly set the buffer sizes on sockets created. server = MockWebServer() server.serverSocketFactory = object : DelegatingServerSocketFactory(getDefault()) { @Throws(SocketException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0)