- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for hard (0.06 sec)
-
src/syscall/rlimit.go
var origRlimitNofile atomic.Pointer[Rlimit] // Some systems set an artificially low soft limit on open file count, for compatibility // with code that uses select and its hard-coded maximum file descriptor // (limited by the size of fd_set). // // Go does not use select, so it should not be subject to these limits. // On some systems the limit is 256, which is very easy to run into,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:57 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/CurrentProcess.java
JvmOptions jvmOptions = new JvmOptions(fileCollectionFactory); // TODO(mlopatkin) figure out a nicer way of handling the presence of agent in the foreground daemon. // Currently it is hard to have a proper "-javaagent:/path/to/jar" in clients that start the daemon, so all code deals with a boolean flag shouldApplyAgent instead.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentControl.java
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; /** * Provides methods to interact with the Java agent shipped with Gradle. Because of the different class loaders, it is hard to query the Agent class directly. * <p> * The agent class must follow a special protocol to be recognized properly: the class should have a method: * <pre> * public static boolean isApplied() * </pre>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/naughty-disk_test.go
"io" "sync" "time" "github.com/minio/madmin-go/v3" ) // naughtyDisk wraps a POSIX disk and returns programmed errors // specified by the developer. The purpose is to simulate errors // that are hard to simulate in practice like DiskNotFound. // Programmed errors are stored in errors field. type naughtyDisk struct { // The real disk disk StorageAPI // Programmed errors: API call number => error to return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/package-info.java
* <h3>Encoders and Decoders</h3> * <p> * Serialization of an object that is supported by the configuration cache is performed by an {@link org.gradle.internal.serialize.graph.EncodingProvider}. * Deserialization, on the other hand, is performed by a {@link org.gradle.internal.serialize.graph.DecodingProvider}. * </p> * <p>Both protocols are highly specialized and, as such, they are specified as Single Abstract Method interfaces.</p> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/string_utils.cc
#include <vector> #include "absl/status/status.h" namespace mlir::TFL { absl::Status MiniDynamicBuffer::AddString(const char* str, size_t len) { // If `data_.size() + len` is greater than `SIZE_MAX` then the left hand side // will overflow to something less than max_length_. After checking `len <= // max_length_` we can use this subtraction to check for overflow. if (len > max_length_ || data_.size() >= max_length_ - len)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/coro.go
// Swap it with ourselves. var gnext *g for { // Note: this is a racy load, but it will eventually // get the right value, and if it gets the wrong value, // the c.gp.cas will fail, so no harm done other than // a wasted loop iteration. // The cas will also sync c.gp's // memory enough that the next iteration of the racy load // should see the correct value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:18 UTC 2024 - 7.4K bytes - Viewed (0) -
src/sync/pool.go
// dynamically-sized store of temporary output buffers. The store scales under // load (when many goroutines are actively printing) and shrinks when // quiescent. // // On the other hand, a free list maintained as part of a short-lived object is // not a suitable use for a Pool, since the overhead does not amortize well in // that scenario. It is more efficient to have such objects implement their own // free list.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 9.4K bytes - Viewed (0)