- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for max_bytes (0.38 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockPacketPayload.java
import java.io.EOFException; import java.io.IOException; import static org.gradle.cache.internal.locklistener.FileLockPacketType.UNKNOWN; public class FileLockPacketPayload { public static final int MAX_BYTES = 1 + 8 + 1; // protocolVersion + lockId + type private static final byte PROTOCOL_VERSION = 1; private static final ImmutableList<FileLockPacketType> TYPES = ImmutableList.copyOf(FileLockPacketType.values());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
uint64_t block_size, size_t max_bytes, uint64_t max_staleness, uint64_t stat_cache_max_age, size_t stat_cache_max_entries); } GCSFile; // This function is used to initialize a filesystem without the need of setting // manually environement variables. void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 04:37:41 UTC 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
TF_Status* status)> BlockFetcher; RamFileBlockCache(size_t block_size, size_t max_bytes, uint64_t max_staleness, BlockFetcher block_fetcher, std::function<uint64_t()> timer_seconds = TF_NowSeconds) : block_size_(block_size), max_bytes_(max_bytes), max_staleness_(max_staleness), block_fetcher_(block_fetcher), timer_seconds_(timer_seconds),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 04:46:34 UTC 2020 - 10.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/FileLockPacketPayloadTest.groovy
def "encodes lock id and type"() { when: def bytes = FileLockPacketPayload.encode(42, LOCK_RELEASE_CONFIRMATION) then: bytes.length == FileLockPacketPayload.MAX_BYTES bytes == [1, 0, 0, 0, 0, 0, 0, 0, 42, 3] as byte[] } def "decodes payloads without type"() { when: def payload = FileLockPacketPayload.decode([1, 0, 0, 0, 0, 0, 0, 0, 42, 1] as byte[], 9)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
max_bytes = static_cast<size_t>(value * 1024 * 1024); } const char* max_staleness_env = std::getenv(kMaxStaleness); if (max_staleness_env && absl::SimpleAtoi(max_staleness_env, &value)) { max_staleness = value; } TF_VLog(1, "GCS cache max size = %u ; block size = %u ; max staleness = %u", max_bytes, block_size, max_staleness);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 06:55:53 UTC 2023 - 46.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockCommunicator.java
} return pingSentSuccessfully; } public DatagramPacket receive() throws GracefullyStoppedException { try { byte[] bytes = new byte[FileLockPacketPayload.MAX_BYTES]; DatagramPacket packet = new DatagramPacket(bytes, bytes.length); socket.receive(packet); return packet; } catch (IOException e) { if (!stopped) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:49 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
EXPECT_EQ(got_n, want_n); calls++; memset(buffer, 'x', got_n); TF_SetStatus(status, TF_OK, ""); return got_n; }; // If block_size, max_bytes, or both are zero, or want_n is larger than // max_bytes the cache is a pass-through. tf_gcs_filesystem::RamFileBlockCache cache1(1, 0, 0, fetcher); tf_gcs_filesystem::RamFileBlockCache cache2(0, 1, 0, fetcher);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 15 03:16:57 UTC 2021 - 23.2K bytes - Viewed (0) -
cluster/addons/fluentd-gcp/fluentd-gcp-configmap-old.yaml
<match raw.kubernetes.**> @type detect_exceptions remove_tag_prefix raw message log stream stream multiline_flush_interval 5 max_bytes 500000 max_lines 1000 </match> system.input.conf: |- # Example: # Dec 21 23:17:22 gke-foo-1-1-4b5cbd14-node-4eoj startupscript: Finished running startup script /var/run/google.startup.script
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 26 07:09:07 UTC 2018 - 16.3K bytes - Viewed (0) -
cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml
@type detect_exceptions remove_tag_prefix raw message message stream "logging.googleapis.com/local_resource_id" multiline_flush_interval 5 max_bytes 500000 max_lines 1000 </match> system.input.conf: |- # Example: # Dec 21 23:17:22 gke-foo-1-1-4b5cbd14-node-4eoj startupscript: Finished running startup script /var/run/google.startup.script
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 26 07:09:07 UTC 2018 - 18.3K bytes - Viewed (0) -
cmd/prune-junit-xml/prunexml.go
testcase.SkipMessage.Message = head + "[...clipped...]" + tail } } if testcase.Failure != nil { if len(testcase.Failure.Contents) > maxBytes { fmt.Printf("clipping failure message in test case : %s\n", testcase.Name) head := testcase.Failure.Contents[:maxBytes/2] tail := testcase.Failure.Contents[len(testcase.Failure.Contents)-maxBytes/2:] testcase.Failure.Contents = head + "[...clipped...]" + tail
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 12:26:00 UTC 2023 - 4.4K bytes - Viewed (0)