Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1981 - 1990 of 3,923 for objTest (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertThrows(
            NullPointerException.class,
            () -> {
              ImmutableMap<Object, Integer> unused =
                  fluent(1, null, 2)
                      .uniqueIndex(
                          new Function<Integer, Object>() {
                            @Override
                            public Object apply(@Nullable Integer input) {
                              return String.valueOf(input);
                            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10));
      }
    
      @Footprint
      Object sizeOfStriped() {
        return impl.get(numStripes);
      }
    
      // a place to put the locks in sizeOfPopulatedStriped so they don't get GC'd before we measure
      final List<Lock> locks = new ArrayList<>(numStripes);
    
      @Footprint
      Object sizeOfPopulatedStriped() {
        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        bulkGetSet = ImmutableList.copyOf(limit(cycle(asList), 10));
      }
    
      @Footprint
      Object sizeOfStriped() {
        return impl.get(numStripes);
      }
    
      // a place to put the locks in sizeOfPopulatedStriped so they don't get GC'd before we measure
      final List<Lock> locks = new ArrayList<>(numStripes);
    
      @Footprint
      Object sizeOfPopulatedStriped() {
        locks.clear();
        Striped<Lock> striped = impl.get(numStripes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java

        @Override
        public MavenMetadata setPath(Path path) {
            return new LocalSnapshotMetadata(metadata, path, timestamp);
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId() + ':' + getVersion();
        }
    
        public static Object getKey(Artifact artifact) {
            return artifact.getGroupId() + ':' + artifact.getArtifactId() + ':' + artifact.getBaseVersion();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. docs/bucket/replication/setup_2site_existing_replication.sh

    remote_arn=$(./mc replicate ls sitea/bucket --json | jq -r .rule.Destination.Bucket)
    sleep 1
    
    ./mc replicate resync start sitea/bucket/ --remote-bucket "${remote_arn}"
    sleep 30s ## sleep for 30s idea is that we give 300ms per object.
    
    ./mc ls -r --versions sitea/bucket >/tmp/sitea.txt
    ./mc ls -r --versions siteb/bucket >/tmp/siteb.txt
    
    out=$(diff -qpruN /tmp/sitea.txt /tmp/siteb.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/testing.md

    Erstellen Sie einen `TestClient`, indem Sie ihm Ihre **FastAPI**-Anwendung übergeben.
    
    Erstellen Sie Funktionen mit einem Namen, der mit `test_` beginnt (das sind `pytest`-Konventionen).
    
    Verwenden Sie das `TestClient`-Objekt auf die gleiche Weise wie `httpx`.
    
    Schreiben Sie einfache `assert`-Anweisungen mit den Standard-Python-Ausdrücken, die Sie überprüfen müssen (wiederum, Standard-`pytest`).
    
    ```Python hl_lines="2  12  15-18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * 
         * Two <tt>NtlmPasswordAuthentication</tt> objects are equal if their caseless domain and username fields are equal
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( obj instanceof NtlmPasswordAuthenticator ) {
                NtlmPasswordAuthenticator ntlm = (NtlmPasswordAuthenticator) obj;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Queues.java

      /**
       * Creates an empty {@code PriorityBlockingQueue} with the ordering given by its elements' natural
       * ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      @J2ktIncompatible
      @GwtIncompatible // PriorityBlockingQueue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *   private final String city;
     *   private final String state;
     *   private final String zipcode;
     *
     *   public Address(String city, String state, String zipcode) {...}
     *
     *   {@literal @Override} public boolean equals(Object obj) {...}
     *   {@literal @Override} public int hashCode() {...}
     *   ...
     * }
     * </pre>
     *
     * <p>No cascading checks are performed against the return values of methods unless the method is a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Queues.java

      /**
       * Creates an empty {@code PriorityBlockingQueue} with the ordering given by its elements' natural
       * ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      @J2ktIncompatible
      @GwtIncompatible // PriorityBlockingQueue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top