- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 162 for Ftruncate (0.06 sec)
-
android/guava/src/com/google/common/collect/TreeRangeSet.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
assertArrayEquals(clientChallenge, Arrays.copyOfRange(actual, 16 + 16, 16 + 16 + 8)); } @Test @DisplayName("getPreNTLMResponse: uses OEM bytes, truncates to 14, verifies interactions") void testGetPreNTLMResponse_basicAndInteractions() throws Exception { // Arrange when(cifsContext.getConfig()).thenReturn(configuration);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
* body. If fewer than [byteCount] bytes are in the response body, the full response body is * returned. If more than [byteCount] bytes are in the response body, the returned value * will be truncated to [byteCount] bytes. * * It is an error to call this method after the body has been consumed. * * **Warning:** this method loads the requested bytes into memory. Most applications should set
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
cmd/object-handlers-common.go
return false } // returns true if object was modified after givenTime. func ifModifiedSince(objTime time.Time, givenTime time.Time) bool { // The Date-Modified header truncates sub-second precision, so // use mtime < t+1s instead of mtime <= t to check for unmodified. return !objTime.Before(givenTime.Add(1 * time.Second)) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 23 12:36:06 UTC 2025 - 15.2K bytes - Viewed (0) -
cmd/metacache-walk.go
diskHealthCheckOK(ctx, err) if err != nil { // It is totally possible that xl.meta was overwritten // while being concurrently listed at the same time in // such scenarios the 'xl.meta' might get truncated if !IsErrIgnored(err, io.EOF, io.ErrUnexpectedEOF) { internalLogOnceIf(ctx, err, "metacache-walk-read-metadata") } continue } meta.name = strings.TrimSuffix(entry, xlStorageFormatFile)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.6K bytes - Viewed (0) -
cmd/perf-tests.go
r.Close() if err == nil { response := time.Since(t) ttfb := time.Since(*fbr.t) // Only capture success criteria - do not // have to capture failed reads, truncated // reads etc. atomic.AddUint64(&totalBytesRead, uint64(n)) mu.Lock() downloadTimes = append(downloadTimes, response) downloadTTFB = append(downloadTTFB, ttfb) mu.Unlock() }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
this.notAfter = notAfter } /** * Sets the certificate to be valid immediately and until the specified duration has elapsed. * The precision of this field is seconds; further precision will be truncated. */ fun duration( duration: Long, unit: TimeUnit, ) = apply { val now = System.currentTimeMillis() validityInterval(now, now + unit.toMillis(duration)) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
src/bytes/bytes_test.go
if err := recover(); err == nil { t.Fatal("Truncate(-1) should have panicked") } }() var b Buffer b.Truncate(-1) } func TestBufferTruncateOutOfRange(t *testing.T) { defer func() { if err := recover(); err == nil { t.Fatal("Truncate(20) should have panicked") } }() var b Buffer b.Write(make([]byte, 10)) b.Truncate(20) } var containsTests = []struct {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
cmd/storage-datatypes.go
Files []string `msg:"fl"` // Individual files to read. MaxSize int64 `msg:"ms"` // Return error if size is exceed. MetadataOnly bool `msg:"mo"` // Read as XL meta and truncate data. AbortOn404 bool `msg:"ab"` // Stop reading after first file not found. MaxResults int `msg:"mr"` // Stop after this many successful results. <= 0 means all. }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0)