- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 211 for ftruncate (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
} @Test fun truncatedMetadataEntry() { val response = testCorruptingCache { corruptMetadata { // truncate metadata to 1/4 of length it.substring(0, it.length / 4) } } assertThat(response.body.string()).isEqualTo("ABC.2") // not cached assertThat(cache.requestCount()).isEqualTo(2)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6K bytes - Click Count (0) -
cmd/admin-server-info.go
// For example, if len(stats.PauseQuantiles) is 5, it will be // filled with the minimum, 25%, 50%, 75%, and maximum pause times. PauseQuantiles: make([]time.Duration, 5), } debug.ReadGCStats(&gcStats) // Truncate GC stats to max 5 entries. if len(gcStats.PauseEnd) > 5 { gcStats.PauseEnd = gcStats.PauseEnd[len(gcStats.PauseEnd)-5:] } if len(gcStats.Pause) > 5 { gcStats.Pause = gcStats.Pause[len(gcStats.Pause)-5:] }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.9K bytes - Click Count (1) -
docs/distributed/distributed-from-config-file.sh
export MC_HOST_minio3=http://minr0otUS2r:pBU94AGAY85e@localhost:9003 ./mc ready minio1 ./mc ready minio3 ./mc mb minio1/testbucket # copy large upload to newbucket on minio1 truncate -s 17M lrgfile expected_checksum=$(cat ./lrgfile | md5sum) ./mc cp ./lrgfile minio1/testbucket actual_checksum=$(./mc cat minio3/testbucket/lrgfile | md5sum)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 28 09:06:49 GMT 2024 - 3.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt
if (Character.isISOControl(codePoint) && !Character.isWhitespace(codePoint)) { return false } } return true } catch (_: EOFException) { return false // Truncated UTF-8 sequence. }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 1.4K bytes - Click Count (0) -
cmd/api-response.go
KeyMarker string // When response is truncated (the IsTruncated element value in the response // is true), you can use the key name in this field as marker in the subsequent // request to get next set of objects. Server lists objects in alphabetical // order Note: This element is returned only if you have delimiter request parameter // specified. If response does not include the NextMaker and it is truncated,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
cmd/metacache-entries.go
// No prefix, simpler for _, o := range m.o { if !strings.Contains(o.name, separator) { dst = append(dst, o) } } } m.o = dst } // truncate the number of entries to maximum n. func (m *metaCacheEntriesSorted) truncate(n int) { if m == nil { return } if len(m.o) > n { if m.reuse { for i, entry := range m.o[n:] { metaDataPoolPut(entry.metadata)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 24.1K bytes - Click Count (0) -
ci/official/utilities/extract_resultstore_links.py
f'{url}\n\n') failure_msg += ( f'Here\'s a fragment of the log containing the failure:\n\n' f'[ ... TRUNCATED ... ]\n\n' f'{invocation_results["log_fragment"]}\n' f'\n[ ... TRUNCATED ... ]\n' ) failure = ElemTree.SubElement( testcase, elem_name, message=f'Bazel invocation {invocation_id} failed.')Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Click Count (0) -
internal/jwt/parser.go
} bufp := base64BufPool.Get() defer base64BufPool.Put(bufp) tokenBuf := base64BufPool.Get() defer base64BufPool.Put(tokenBuf) token := *tokenBuf // Copy token to buffer, truncate to length. token = token[:copy(token[:base64BufferSize], tokenStr)] signer, err := ParseUnverifiedStandardClaims(token, claims, *bufp) if err != nil { return err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt
assertInvalid("HTTP/1.1 2000 OK") assertInvalid("HTTP/1.1 two OK") assertInvalid("HTTP/1.1 2") assertInvalid("HTTP/1.1 2000") assertInvalid("HTTP/1.1 two") } @Test fun truncated() { assertInvalid("") assertInvalid("H") assertInvalid("HTTP/1") assertInvalid("HTTP/1.") assertInvalid("HTTP/1.1") assertInvalid("HTTP/1.1 ") assertInvalid("HTTP/1.1 2")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
src/bytes/buffer_test.go
t.Errorf("Write: got (%d, %v), want (%d, %v)", n, err, want, nil) } check(t, "TestBasicOperations (6)", &buf, testString[0:26]) buf.Truncate(26) check(t, "TestBasicOperations (7)", &buf, testString[0:26]) buf.Truncate(20) check(t, "TestBasicOperations (8)", &buf, testString[0:20]) empty(t, "TestBasicOperations (9)", &buf, testString[0:20], make([]byte, 5))
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0)