Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 189 for integers (0.12 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < numInsertions * 2; i += 2) {
          bf.put(Integer.toString(i));
        }
        assertApproximateElementCountGuess(bf, numInsertions);
    
        // Assert that the BF "might" have all of the even numbers.
        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      public void testComplexBuilder() {
        List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF);
        ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder();
        for (Integer red : colorElem) {
          for (Integer green : colorElem) {
            for (Integer blue : colorElem) {
              webSafeColorsBuilder.add((red << 16) + (green << 8) + blue);
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      // Some convenient Integer constants
    
      public static final Integer zero = 0;
      public static final Integer one = 1;
      public static final Integer two = 2;
      public static final Integer three = 3;
      public static final Integer four = 4;
      public static final Integer five = 5;
      public static final Integer six = 6;
      public static final Integer seven = 7;
      public static final Integer eight = 8;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

         */
        Jvm(OperatingSystem os, File suppliedJavaBase, String implementationJavaVersion, Integer javaVersionMajor) {
            this(os, suppliedJavaBase, implementationJavaVersion, javaVersionMajor, true);
        }
    
        private Jvm(OperatingSystem os, File suppliedJavaBase, String implementationJavaVersion, Integer javaVersionMajor, boolean userSupplied) {
            this.os = os;
            this.javaBase = suppliedJavaBase;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

            'Integer'  | ''                 | 'Integer.valueOf(1)'                                                | 'java.lang.Integer'
            'String'   | ''                 | 'new String()'                                                      | 'java.lang.String'
            'Iterable' | '<Integer>'        | 'Arrays.asList(Integer.valueOf(1), Integer.valueOf(2))'             | 'java.lang.Integer'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

            "Map<String, Integer>"               | "[a: 1, b: 2]"                            | "[a:1, b:2]"
            "HashMap<String, Integer>"           | "new HashMap([a: 1, b: 2])"               | "[a:1, b:2]"
            "LinkedHashMap<String, Integer>"     | "new LinkedHashMap([a: 1, b: 2])"         | "[a:1, b:2]"
            "TreeMap<String, Integer>"           | "new TreeMap([a: 1, b: 2])"               | "[a:1, b:2]"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultMetadataProviderTest.groovy

                }
            }
        }
    
        static class TestSupplierWithInvalidAttributes extends TestSupplier {
            final static Attribute<Integer> INVALID_ATTRIBUTE1 = Attribute.of("integer", Integer)
            final static Attribute<Long> INVALID_ATTRIBUTE2 = Attribute.of("long", Long)
    
            @Override
            void execute(ComponentMetadataSupplierDetails details) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

        doLast {
            custom.prop.set(123)
        }
    }
    
    task wrongPropertyTypeDsl {
        doLast {
            custom.prop = objects.property(Integer)
        }
    }
    
    task wrongPropertyTypeApi {
        doLast {
            custom.prop.set(objects.property(Integer))
        }
    }
    
    task wrongRuntimeType {
        doLast {
            custom.prop = providers.provider { 123 }
            custom.prop.get()
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

                            T get();
                        }
    
                        private SerializableSupplier<Integer> serializableSupplier;
                        private NonSerializableSupplier<Integer> nonSerializableSupplier;
    
                        public void setSerializableSupplier(SerializableSupplier<Integer> supplier) {
                            this.serializableSupplier = supplier;
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/unsafe/unsafe.go

    //
    // Converting a Pointer to a uintptr produces the memory address of the value
    // pointed at, as an integer. The usual use for such a uintptr is to print it.
    //
    // Conversion of a uintptr back to Pointer is not valid in general.
    //
    // A uintptr is an integer, not a reference.
    // Converting a Pointer to a uintptr creates an integer value
    // with no pointer semantics.
    // Even if a uintptr holds the address of some object,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:45:20 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top