- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 3,402 for rint (0.04 sec)
-
cmd/test-utils_test.go
} var src = rand.NewSource(time.Now().UnixNano()) func randString(n int) string { b := make([]byte, n) // A src.Int63() generates 63 random bits, enough for letterIdxMax characters! for i, cache, remain := n-1, src.Int63(), letterIdxMax; i >= 0; { if remain == 0 { cache, remain = src.Int63(), letterIdxMax } if idx := int(cache & letterIdxMask); idx < len(letterBytes) { b[i] = letterBytes[idx] i--
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java
public class ModelParseException extends IOException { /** * The one-based index of the line containing the error. */ private final int lineNumber; /** * The one-based index of the column containing the error. */ private final int columnNumber; /** * Creates a new parser exception with the specified details. * * @param message The error message, may be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java
public class SettingsParseException extends IOException { /** * The one-based index of the line containing the error. */ private final int lineNumber; /** * The one-based index of the column containing the error. */ private final int columnNumber; /** * Creates a new parser exception with the specified details. * * @param message The error message, may be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
// TF_CAPI_EXPORT extern TF_ShapeAndTypeList* TF_NewShapeAndTypeList( int num_shapes); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetShape( TF_ShapeAndTypeList* shape_list, int index, const int64_t* dims, int num_dims); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetUnknownShape( TF_ShapeAndTypeList* shape_list, int index); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetDtype(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
Constructor<?> constructor = Class.forName(className).getConstructor(int.class); queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) { strings[i] = String.valueOf(Math.random()); } } @Benchmark void addsAndRemoves(int reps) { int capacity = this.capacity; BlockingQueue<String> queue = this.queue;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
@SuppressWarnings("unchecked") // safe covariant cast! @Override public UnmodifiableListIterator<E> listIterator(int index) { return (UnmodifiableListIterator<E>) delegateList.listIterator(index); } @GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(@Nullable Object[] dst, int offset) { return delegateList.copyIntoArray(dst, offset); } @Override @CheckForNull @Nullable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
.put(Integer.class, 0) .put(int.class, 1) .build(); assertEquals(2, map.size()); assertEquals(0, (int) map.getInstance(Integer.class)); assertEquals(0, (int) map.getInstance(TypeToken.of(Integer.class))); assertEquals(1, (int) map.getInstance(int.class)); assertEquals(1, (int) map.getInstance(TypeToken.of(int.class))); } public void testParameterizedType() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
*/ static final int MAX_HASH_BUCKET_LENGTH = 8; // entries in insertion order @VisibleForTesting final transient Entry<K, V>[] entries; // array of linked lists of entries @CheckForNull private final transient @Nullable ImmutableMapEntry<K, V>[] table; // 'and' with an int to get a table index private final transient int mask;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K bytes - Viewed (0) -
api/go1.18.txt
pkg net, method (*UDPConn) ReadFromUDPAddrPort([]uint8) (int, netip.AddrPort, error) pkg net, method (*UDPConn) ReadMsgUDPAddrPort([]uint8, []uint8) (int, int, int, netip.AddrPort, error) pkg net, method (*UDPConn) WriteMsgUDPAddrPort([]uint8, []uint8, netip.AddrPort) (int, int, error) pkg net, method (*UDPConn) WriteToUDPAddrPort([]uint8, netip.AddrPort) (int, error) pkg net, type Error interface, Temporary //deprecated
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphMutationTest.java
@RunWith(JUnit4.class) public final class GraphMutationTest { private static final int NUM_TRIALS = 50; private static final int NUM_NODES = 100; private static final int NUM_EDGES = 1000; private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES @Test public void directedGraph() { testGraphMutation(GraphBuilder.directed()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0)