- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 250 for Truncate (0.14 sec)
-
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
} private int nextRandomKey() { int a = random.nextInt(max); /* * For example, if concentration=2.0, the following takes the square root of * the uniformly-distributed random integer, then truncates any fractional * part, so higher integers would appear (in this case linearly) more often * than lower ones. */ return (int) Math.pow(a, 1.0 / concentration); } @AfterExperiment
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/AutobahnTester.kt
} } private fun runTest( number: Long, count: Long, ) { val latch = CountDownLatch(1) val startNanos = AtomicLong() newWebSocket( "/runCase?case=$number&agent=okhttp", object : WebSocketListener() { override fun onOpen( webSocket: WebSocket, response: Response, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), func SysctlUint32(string) (uint32, error) pkg syscall (freebsd-arm64), func TimevalToNsec(Timeval) int64 pkg syscall (freebsd-arm64), func Truncate(string, int64) error pkg syscall (freebsd-arm64), func Umask(int) int pkg syscall (freebsd-arm64), func Undelete(string) error pkg syscall (freebsd-arm64), func UnixRights(...int) []uint8
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 508.9K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), func Sysctl(string) (string, error) pkg syscall (darwin-arm64), func SysctlUint32(string) (uint32, error) pkg syscall (darwin-arm64), func TimevalToNsec(Timeval) int64 pkg syscall (darwin-arm64), func Truncate(string, int64) error pkg syscall (darwin-arm64), func Umask(int) int pkg syscall (darwin-arm64), func Undelete(string) error pkg syscall (darwin-arm64), func UnixRights(...int) []uint8
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.14.md
* Pre-existing log files are now opened with O_APPEND, instead of O_TRUNC. This helps prevent losing logs when components crash-loop, and also enables external log rotation utilities to truncate log files in-place without components extending log files to their pre-truncation sizes on subsequent writes. ([#74837](https://github.com/kubernetes/kubernetes/pull/74837), [@mtaufen](https://github.com/mtaufen))
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Mon Jun 14 22:06:39 UTC 2021 - 271.5K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} n, oobn, flags, _, err := c.ReadMsgUnix(buf[:], oob) if err != nil { return nil, 0, err } if flags&unix.MSG_TRUNC != 0 { return nil, 0, fmt.Errorf("truncated message") } if flags&unix.MSG_CTRUNC != 0 { return nil, 0, fmt.Errorf("truncated control message") } var resp T var respPtr PT = &resp err = proto.Unmarshal(buf[:n], respPtr) if err != nil { return nil, 0, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 16:08:35 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
val part = parts.nextPart()!! assertThat(part.body.readUtf8()).isEqualTo("abcd") assertThat(parts.nextPart()).isNull() } @Test fun `truncated multipart`() { val multipart = """ |--simple boundary | |abcd |efgh | """.trimMargin() .replace("\n", "\r\n") val parts =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
src/archive/zip/reader.go
// n is length of comment n := int(b[i+directoryEndLen-2]) | int(b[i+directoryEndLen-1])<<8 if n+directoryEndLen+i > len(b) { // Truncated comment. // Some parsers (such as Info-ZIP) ignore the truncated comment // rather than treating it as a hard error. return -1 } return i } } return -1 } type readBuf []byte
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
rangeToRemove.upperBound, rangeMapEntry.getUpperBound(), mapEntryBelowToTruncate.getValue().getValue()); } // overwrite mapEntryToTruncateBelow with a truncated range putRangeMapEntry( rangeMapEntry.getLowerBound(), rangeToRemove.lowerBound, mapEntryBelowToTruncate.getValue().getValue()); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.7K bytes - Viewed (0) -
common-protos/k8s.io/api/admission/v1/generated.proto
// Warning messages describe a problem the client making the API request should correct or be aware of. // Limit warnings to 120 characters if possible. // Warnings over 256 characters and large numbers of warnings may be truncated. // +optional repeated string warnings = 7; } // AdmissionReview describes an admission review request/response. message AdmissionReview { // Request describes the attributes for the admission request.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 8.1K bytes - Viewed (0)