Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 643 for actuals (0.06 sec)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

        } catch (IllegalArgumentException expected) {
        }
      }
    
      private static void assertByteArrayEquals(byte[] expected, byte[] actual) {
        assertWithMessage(
                "Expected: " + Arrays.toString(expected) + ", but got: " + Arrays.toString(actual))
            .that(Arrays.equals(expected, actual))
            .isTrue();
      }
    
      public void testToByteArray() {
        assertByteArrayEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

                           const std::unordered_set<string>& nodes) {
        ASSERT_EQ(nodes.size(), fdef.node_def_size())
            << "Got unexpected number of nodes. Expected: ["
            << absl::StrJoin(nodes, ", ")
            << "] Actual nodes in fdef: " << fdef.DebugString();
        for (const NodeDef& node_def : fdef.node_def()) {
          ASSERT_TRUE(nodes.find(node_def.name()) != nodes.end())
              << "Got unexpected node: " << node_def.name()
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

     * An immutable well-formed internet domain name, such as {@code com} or {@code foo.co.uk}. Only
     * syntactic analysis is performed; no DNS lookups or other network interactions take place. Thus
     * there is no guarantee that the domain actually exists on the internet.
     *
     * <p>One common use of this class is to determine whether a given string is likely to represent an
     * addressable domain on the web -- that is, for a candidate string {@code "xxx"}, might browsing to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
     * <p>For instance, if <i>steps</i> is 5, one example sequence that will be tested is:
     *
     * <ol>
     *   <li>remove();
     *   <li>hasNext()
     *   <li>hasNext();
     *   <li>remove();
     *   <li>next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

          "take plan 1",
          "plan 0 cancel",
          "plan 0 TCP connect canceled",
        )
      }
    
      private fun assertEvents(vararg expected: String) {
        val actual = generateSequence { routePlanner.events.poll() }.toList()
        assertThat(actual).containsExactly(*expected)
      }
    
      private val Int.ms: Long
        get() = this * 1_000_000L
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils_test.go

    		removeRoots(disks)
    		t.Fatal(err)
    	}
    	defer removeRoots(disks)
    	z := objLayer.(*erasureServerPools)
    	testShuffleDisks(t, z)
    }
    
    // Test shuffleDisks which returns shuffled slice of disks for their actual distribution.
    func testShuffleDisks(t *testing.T, z *erasureServerPools) {
    	disks := z.serverPools[0].GetDisks(0)()
    	distribution := []int{16, 14, 12, 10, 8, 6, 4, 2, 1, 3, 5, 7, 9, 11, 13, 15}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingSet.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E>
        implements Set<E> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingSet() {}
    
      @Override
      protected abstract Set<E> delegate();
    
      @Override
      public boolean equals(@CheckForNull Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/UniAddress.java

     * hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and
     * DNS resolvable hosts.
     */
    
    public class UniAddress implements Address {
    
        /**
         * Check whether a hostname is actually an ip address
         * 
         * @param hostname
         * @return whether this is an IP address
         */
        public static boolean isDotQuadIP ( String hostname ) {
            if ( Character.isDigit(hostname.charAt(0)) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
       * ImmutableClassToInstanceMap}, no copy will actually be performed.
       *
       * @throws NullPointerException if any key or value in {@code map} is null
       * @throws ClassCastException if any value is not an instance of the type specified by its key
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Range.java

       * can't be constructed at all.)
       *
       * <p>Note that certain discrete ranges such as the integer range {@code (3..4)} are <b>not</b>
       * considered empty, even though they contain no actual values. In these cases, it may be helpful
       * to preprocess ranges with {@link #canonical(DiscreteDomain)}.
       */
      public boolean isEmpty() {
        return lowerBound.equals(upperBound);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top