- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for Counter (0.3 sec)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} private static class Counter<N extends Number> { @SuppressWarnings("unused") // used by reflection List<N> counts; } public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound() throws Exception { TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {}; TypeToken<?> fieldType =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} private static class Counter<N extends Number> { @SuppressWarnings("unused") // used by reflection List<N> counts; } public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound() throws Exception { TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {}; TypeToken<?> fieldType =
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
*/ @CanIgnoreReturnValue public CacheBuilder<K, V> recordStats() { statsCounterSupplier = CACHE_STATS_COUNTER; return this; } boolean isRecordingStats() { return statsCounterSupplier == CACHE_STATS_COUNTER; } Supplier<? extends StatsCounter> getStatsCounterSupplier() { return statsCounterSupplier; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 51.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
private final DirContext context; private int counter = 1; protected DirContextHolder(final DirContext context) { this.context = context; } public DirContext get() { return context; } public void inc() { counter++; } @Override public void close() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 65.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* Future}. * * <p>Usage example: * * <pre>{@code * ListenableFuture<Integer> fetchCounterFuture = ...; * * // Falling back to a zero counter in case an exception happens when * // processing the RPC to fetch counters. * ListenableFuture<Integer> faultTolerantFuture = Futures.catching( * fetchCounterFuture, FetchException.class, x -> 0, directExecutor()); * }</pre> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at * all are provided (an empty list), the resulting Cartesian product has one element, an empty * list (counter-intuitive, but mathematically consistent). * * <p><i>Performance notes:</i> while the cartesian product of sets of size {@code m, n, p} is a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
} op_name += type; return TF_NewOperation( graph_, op_name.c_str(), ::tensorflow::strings::StrCat("name", counter_++).c_str()); } TF_Status* s_; private: TF_Graph* graph_; int counter_; }; // Helper macros for the TF_OperationGetAttr* tests. // TODO(ashankar): Use gmock matchers instead?
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* always {@code (int) (capacity * 0.75)}.) */ int threshold; /** The per-segment table. */ @CheckForNull volatile AtomicReferenceArray<E> table; /** * A counter of the number of reads since the last write, used to drain queues on a small * fraction of read operations. */ final AtomicInteger readCount = new AtomicInteger();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 91.9K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// rewritten to use _cgo_unsafe.Pointer instead. func (p *Package) rewriteUnsafe(t ast.Expr) ast.Expr { switch t := t.(type) { case *ast.Ident: // We don't see a SelectorExpr for unsafe.Pointer; // this is created by code in this file. if t.Name == "unsafe.Pointer" { return ast.NewIdent("_cgo_unsafe.Pointer") } case *ast.ArrayType:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// the 3 types of files. In all other cases, there is no need to modify the /// address of the opaque data pointer, hence the wrapper pointer is marked /// `const`. /// /// For consistency, the arguments on all these functions follow the same /// pattern: first we have the opaque pointer argument ("this" above), then the /// input arguments, then the in-out arguments (if any) and we finish the
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0)