Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 80 for setDist (0.13 sec)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

        @Test
        void testValidateUniqueProxyId() throws Exception {
            Settings settings = new Settings();
            Proxy proxy = new Proxy();
            String id = "foo";
            proxy.setId(id);
            proxy.setHost("www.example.com");
            settings.addProxy(proxy);
            settings.addProxy(proxy);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(settings, problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. internal/s3select/sql/aggregation.go

    		// numeric argument.
    
    		// Here, we diverge from Amazon S3 behavior by
    		// inferring untyped values are numbers.
    		if !argVal.isNumeric() {
    			if i, ok := argVal.bytesToInt(); ok {
    				argVal.setInt(i)
    			} else if f, ok := argVal.bytesToFloat(); ok {
    				argVal.setFloat(f)
    			} else {
    				return errNonNumericArg(funcName)
    			}
    		}
    	}
    
    	// Mark that we have seen one non-null value.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLong.java

      public BigInteger bigIntegerValue() {
        BigInteger bigInt = BigInteger.valueOf(value & UNSIGNED_MASK);
        if (value < 0) {
          bigInt = bigInt.setBit(Long.SIZE - 1);
        }
        return bigInt;
      }
    
      @Override
      public int compareTo(UnsignedLong o) {
        checkNotNull(o);
        return UnsignedLongs.compare(value, o.value);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedLong.java

      public BigInteger bigIntegerValue() {
        BigInteger bigInt = BigInteger.valueOf(value & UNSIGNED_MASK);
        if (value < 0) {
          bigInt = bigInt.setBit(Long.SIZE - 1);
        }
        return bigInt;
      }
    
      @Override
      public int compareTo(UnsignedLong o) {
        checkNotNull(o);
        return UnsignedLongs.compare(value, o.value);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
      }
    
      public void testWildcardCaptured_methodParameter_upperBound() throws Exception {
        TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {};
        ImmutableList<Parameter> parameters =
            type.method(Holder.class.getDeclaredMethod("setList", List.class)).getParameters();
        assertThat(parameters).hasSize(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/IntMathTest.java

      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testConstantMaxPowerOfSqrt2Unsigned() {
        assertEquals(
            /*expected=*/ BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Integer.SIZE - 1), FLOOR)
                .intValue(),
            /*actual=*/ IntMath.MAX_POWER_OF_SQRT2_UNSIGNED);
      }
    
      @GwtIncompatible // pow()
      public void testConstantsPowersOf10() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                    org.eclipse.aether.repository.Proxy proxy = selector.getProxy(repo);
                    if (proxy != null) {
                        Proxy p = new Proxy();
                        p.setHost(proxy.getHost());
                        p.setProtocol(proxy.getType());
                        p.setPort(proxy.getPort());
                        if (proxy.getAuthentication() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/IntMathTest.java

      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testConstantMaxPowerOfSqrt2Unsigned() {
        assertEquals(
            /*expected=*/ BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Integer.SIZE - 1), FLOOR)
                .intValue(),
            /*actual=*/ IntMath.MAX_POWER_OF_SQRT2_UNSIGNED);
      }
    
      @GwtIncompatible // pow()
      public void testConstantsPowersOf10() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate()));
      }
    
      @GwtIncompatible // java.util.BitSet
      private void doTestSetBits(CharMatcher matcher) {
        BitSet bitset = new BitSet();
        matcher.setBits(bitset);
        for (int i = Character.MIN_VALUE; i <= Character.MAX_VALUE; i++) {
          assertEquals(matcher.matches((char) i), bitset.get(i));
        }
      }
    
      public void testEmpty() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. fastapi/dependencies/utils.py

    ) -> Any:
        alias = alias or field.alias
        if is_sequence_field(field) and isinstance(values, (ImmutableMultiDict, Headers)):
            value = values.getlist(alias)
        else:
            value = values.get(alias, None)
        if (
            value is None
            or (
                isinstance(field.field_info, params.Form)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top