- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,187 for EXPECTED (0.04 sec)
-
internal/logger/logger.go
func RegisterError(f func(string, error, bool) string) { errorFmtFunc = f } // uniq swaps away duplicate elements in data, returning the size of the // unique set. data is expected to be pre-sorted, and the resulting set in // the range [0:size] will remain in sorted order. Uniq, following a // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
attributes.put("snippetsPath", "snippets"); // Make sure the 'raw' location of the samples is available in all AsciidoctorTasks to access files with expected outputs in the 'tests' folder for inclusion in READMEs attributes.put("samplesPath", extension.getUserManual().getStagingRoot().dir("raw/samples").get().getAsFile()); task.attributes(attributes);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Mar 01 05:46:51 UTC 2024 - 17.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
public final class MinMaxPriorityQueue<E> extends AbstractQueue<E> { /** * Creates a new min-max priority queue with default settings: natural order, no maximum size, no * initial contents, and an initial expected size of 11. */ public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() { return new Builder<Comparable<E>>(Ordering.natural()).create(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// the device is not usable. In case of a bad status, `device.delete_device` is // still called on `device_info` (i.e. the caller does not retain ownership). // // This API is highly experimental, and in particular is expected to change when // it starts supporting operations with attributes and when tf.function support // is added. TF_CAPI_EXPORT extern void TFE_RegisterCustomDevice(TFE_Context* ctx,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
// copy into existing multimap assertSame(multimap, Multimaps.invertFrom(single, multimap)); ImmutableMultimap<String, Integer> expected = new ImmutableMultimap.Builder<String, Integer>().put("one", 1).put("two", 2).build(); assertEquals(expected, multimap); } public void testAsMap_multimap() { Multimap<String, Integer> multimap =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
@CheckForNull private T value; @CheckForNull public T get() { return value; } public void checkAndSet(@CheckForNull T expected, @CheckForNull T newValue) { if (value != expected) { throw new ConcurrentModificationException(); } value = newValue; } void clear() { value = null; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
// Copy Tensor data into array. float result_data[4] = {0}; memcpy(&result_data[0], TF_TensorData(result_tensor), TF_TensorByteSize(result_tensor)); // Build expected result & verify. float e_vals[] = {19.0f, 22.0f, 43.0f, 50.0f}; int data_len = 4; // length of e_vals for (int i = 0; i < data_len; i++) { EXPECT_EQ(result_data[i], e_vals[i]); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
// Checking subtype between declared and actual type bounds // adds recursive isSubtypeOf() call and feels complicated. // There is no contract one way or another as long as isSubtypeOf() works as expected. combined.addAll(asList(typeParam.getBounds())); if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound. combined.remove(Object.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
System.setOut(new PrintStream(systemOut)); // when try { cli.cli(cliRequest); } catch (MavenCli.ExitException exitException) { // expected } finally { // restore sysout System.setOut(oldOut); } String versionOut = new String(systemOut.toByteArray(), StandardCharsets.UTF_8); // then
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0)