- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 534 for safety (0.05 sec)
-
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
} }; @Override public void validateClass(Class<? extends Exception> exceptionClass) { isValidClass.get(exceptionClass); // throws if invalid; returns safely (and caches) if valid } } enum WeakSetValidator implements GetCheckedTypeValidator { INSTANCE; /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
fakePool.runAll(); assertEquals(2, totalCalls.get()); // Queue is empty so no runner should be scheduled. assertFalse(fakePool.hasNext()); // Check that execute can be safely repeated e.execute(intCounter); e.execute(intCounter); e.execute(intCounter); // No change yet. assertEquals(2, totalCalls.get()); fakePool.runAll();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
if (n == 0) { @SuppressWarnings("unchecked") RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY; return empty; } else if (n == 1) { // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull( requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1]));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
cmd/sftp-server-driver.go
// This is not timing the actual read operation, but the time it takes to prepare the reader. stopFn := globalSftpMetrics.log(r, f.AccessKey()) defer stopFn(0, err) flags := r.Pflags() if !flags.Read { // sanity check return nil, os.ErrInvalid } bucket, object := path2BucketObject(r.Filepath) if bucket == "" { return nil, errors.New("bucket name cannot be empty") } clnt, err := f.getMinIOClient()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 11.1K bytes - Viewed (0) -
internal/logger/logrotate.go
FileNameFunc func() string // Compress specify if you want the logs to be compressed after rotation. Compress bool } // Writer is a concurrency-safe writer with file rotation. type Writer struct { // opts are the configuration options for this Writer opts Options // f is the currently open file used for appends.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// TF_AddInputList // (2) TF_ColocateWith, TF_AddControlInput etc. do not make sense. // (3) Implementation detail: Avoid use of NodeBuilder/NodeDefBuilder since // the additional sanity checks there seem unnecessary; typedef struct TFE_Op TFE_Op; TF_CAPI_EXPORT extern TFE_Op* TFE_NewOp(TFE_Context* ctx, const char* op_or_function_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0) -
.github/PULL_REQUEST_TEMPLATE.md
- [ ] Provide unit tests (under `<subproject>/src/test`) to verify logic. - [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes. - [ ] Ensure that tests pass sanity check: `./gradlew sanityCheck`. - [ ] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest`. ### Reviewing cheatsheet Before merging the PR, comments starting with - ❌ ❓**must** be fixed
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Feb 13 22:36:19 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
import static com.google.common.graph.TestUtil.ERROR_ELEMENT_NOT_IN_GRAPH; import static com.google.common.truth.Truth.assertWithMessage; import com.google.common.testing.AbstractPackageSanityTests; /** * Covers basic sanity checks for the entire package. * * @author Kurt Alfred Kluever */ public class PackageSanityTests extends AbstractPackageSanityTests { private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
return fromMap.containsKey(key); } // safe as long as the user followed the <b>Warning</b> in the javadoc @SuppressWarnings("unchecked") @Override @CheckForNull public V2 get(@CheckForNull Object key) { V1 value = fromMap.get(key); if (value != null || fromMap.containsKey(key)) { // The cast is safe because of the containsKey check.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
} // safe as long as the user followed the <b>Warning</b> in the javadoc @SuppressWarnings("unchecked") @Override @CheckForNull public V2 getOrDefault(@CheckForNull Object key, @CheckForNull V2 defaultValue) { V1 value = fromMap.get(key); if (value != null || fromMap.containsKey(key)) { // The cast is safe because of the containsKey check.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0)