Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 1,376 for expectEq (0.06 sec)

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

        byte[] sharedArray = new byte[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Bytes.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Bytes.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
        assertThat(Bytes.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileLocationTest.java

                    // this intentionally sticks to the old name
                    assertEquals("/share/foo/bar/", fl2.getURLPath());
                }
            }
        }
    
    
        // test case for #30
        @Test ( expected = MalformedURLException.class )
        public void testInvalid () throws MalformedURLException, CIFSException {
            try ( SmbResource p = new SmbFile("smb:a", getContext()) ) {
                p.getType();
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  3. internal/rest/client.go

    	HealthCheckReconnectUnit time.Duration
    
    	// HealthCheckTimeout determines timeout for each call.
    	HealthCheckTimeout time.Duration
    
    	// MaxErrResponseSize is the maximum expected response size.
    	// Should only be modified before any calls are made.
    	MaxErrResponseSize int64
    
    	// Avoid metrics update if set to true
    	NoMetrics bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. cmd/object-handlers-common.go

    func setPutObjHeaders(w http.ResponseWriter, objInfo ObjectInfo, delete bool, h http.Header) {
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	if objInfo.ETag != "" && !delete {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/TempFileCreator.java

          } catch (ClassNotFoundException runningUnderAndroidOrJava8) {
            /*
             * I'm not sure that we could actually get here for *Android*: I would expect us to enter
             * the POSIX code path instead. And if we tried this code path, we'd have trouble unless we
             * were running under a new enough version of Android to support NIO.
             *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                    && set1.comparator().equals(set2.comparator());
        ImmutableSortedSet<String> expected =
            ImmutableSortedSet.orderedBy(String.CASE_INSENSITIVE_ORDER).add("a", "B", "c", "d").build();
        CollectorTester.of(collector, equivalence)
            .expectCollects(expected, "a", "B", "a", "c", "b", "b", "d");
      }
    
      public void testToImmutableSortedSet_duplicates() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Equivalence.java

       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
       */
      public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) {
        if (a == b) {
          return true;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/c/c_api_experimental.cc

      const auto& shape = reader->GetVariableToShapeMap().at(name);
      int rank = shape.dims();
      if (num_dims != rank) {
        status->status = InvalidArgument("Expected rank is ", num_dims,
                                         " but actual rank is ", rank);
        return;
      }
      for (int i = 0; i < num_dims; i++) {
        dims[i] = shape.dim_size(i);
      }
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top