Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 473 for unused (0.07 sec)

  1. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertThat(expected).hasMessageThat().isEqualTo(msg);
      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
        PercentEscaper unused = new PercentEscaper(" ", false);
    
        // space cannot be a safe char is plusForSpace is true
        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        IllegalArgumentException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

                        Set<Integer> unused = graph.successors(node);
                      }
                      /*
                       * Also look up an earlier node so that, if the graph is using MapRetrievalCache,
                       * we read one of the fields declared in that class.
                       */
                      Set<Integer> unused = graph.successors(first);
                      return null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          ImmutableSet.<String>builder().addAll(SOMEWHERE_UNDER_PS).addAll(PS_NOT_RS).build();
    
      public void testValid() {
        for (String name : VALID_NAME) {
          InternetDomainName unused = InternetDomainName.from(name);
        }
      }
    
      public void testInvalid() {
        for (String name : INVALID_NAME) {
          assertThrows(IllegalArgumentException.class, () -> InternetDomainName.from(name));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("[2001::1]", -1, "2001::1", -1, false);
        checkFromStringCase("2001::3", 65536, "2001::3", -1, false);
      }
    
      public void testFromStringUnusedDefaultPort() {
        // Default port, but unused.
        checkFromStringCase("gmail.com:81", 77, "gmail.com", 81, true);
        checkFromStringCase("192.0.2.2:83", 77, "192.0.2.2", 83, true);
        checkFromStringCase("[2001::2]:85", 77, "2001::2", 85, true);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

                Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) {
          for (int i = 0; i < 3; i++) {
            // doesn't throw exception
            Object unused = striped.getAt(Integer.MAX_VALUE - i);
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @CanIgnoreReturnValue
      private <T> T checkValid(T t) {
        // a ClassCastException is what's supposed to happen!
        @SuppressWarnings("unchecked")
        K k = (K) t;
        int unused = comparator().compare(k, k);
        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

                Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) {
          for (int i = 0; i < 3; i++) {
            // doesn't throw exception
            Object unused = striped.getAt(Integer.MAX_VALUE - i);
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/filter_test.go

    			}
    		})
    	}
    }
    
    func TestObjectSizeFilters(t *testing.T) {
    	f1 := Filter{
    		set: true,
    		Prefix: Prefix{
    			string: "doc/",
    			set:    true,
    			Unused: struct{}{},
    		},
    		ObjectSizeGreaterThan: 100 * humanize.MiByte,
    		ObjectSizeLessThan:    100 * humanize.GiByte,
    	}
    	b, err := xml.Marshal(f1)
    	if err != nil {
    		t.Fatalf("Failed to marshal %v", f1)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/MessageDigestHashFunction.java

        this.bytes = bytes;
        this.supportsClone = supportsClone(prototype);
      }
    
      private static boolean supportsClone(MessageDigest digest) {
        try {
          Object unused = digest.clone();
          return true;
        } catch (CloneNotSupportedException e) {
          return false;
        }
      }
    
      @Override
      public int bits() {
        return bytes * Byte.SIZE;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        // quite expensive (quadratic in the size of PSEUDORANDOM_DATASET).
        double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET);
        @SuppressWarnings("unused")
        double actual = percentiles().index(33).computeInPlace(dataset);
        assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
Back to top