Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 4,785 for New (0.03 sec)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      /**
       * Creates a new min-max priority queue with default settings: natural order, no maximum size, no
       * initial contents, and an initial expected size of 11.
       */
      public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() {
        return new Builder<Comparable<E>>(Ordering.natural()).create();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      }
    
      // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs
      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
        assertSip("12345678", 0x02130609caea37ebL);
        assertSip("abcdef", 0x2a6e77e733c7c05dL);
        assertSip("SipHash", 0x8325093242a96f60L);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      }
    
      // From https://github.com/BrandonHaynes/siphash-csharp/blob/master/tests/Tests.cs
      public void testKnownValues() {
        assertSip(new byte[] {}, 0x726fdb47dd0e0e31L);
        assertSip(new byte[] {0x61}, 0x2ba3e8e9a71148caL);
        assertSip(new byte[1000000], 0x28205108397aa742L);
        assertSip("12345678", 0x02130609caea37ebL);
        assertSip("abcdef", 0x2a6e77e733c7c05dL);
        assertSip("SipHash", 0x8325093242a96f60L);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = xmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("UTF-16BE", encoding);
        }
    
        public void test_getEncoding_none() {
            final InputStream in = new ByteArrayInputStream("<hoge></hoge>".getBytes());
            final BufferedInputStream bis = new BufferedInputStream(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingSortedSetTest.class);
        suite.addTest(
            SortedSetTestSuiteBuilder.using(
                    new TestStringSortedSetGenerator() {
                      @Override
                      protected SortedSet<String> create(String[] elements) {
                        return new StandardImplForwardingSortedSet<>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

            Collection<String> activatedIds = new HashSet<>(context.getActiveProfileIds());
            Collection<String> deactivatedIds = new HashSet<>(context.getInactiveProfileIds());
    
            List<Profile> activeProfiles = new ArrayList<>(profiles.size());
            List<Profile> activePomProfilesByDefault = new ArrayList<>();
            boolean activatedPomProfileNotByDefault = false;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

        private List<ModelProblem> problems;
    
        DefaultModelBuildingResult() {
            modelIds = new ArrayList<>();
            rawModels = new HashMap<>();
            activePomProfiles = new HashMap<>();
            activeExternalProfiles = new ArrayList<>();
            problems = new ArrayList<>();
        }
    
        DefaultModelBuildingResult(ModelBuildingResult result) {
            this();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

            if (StringUtil.isBlank(regex)) {
                throw new CrawlerSystemException("A regular expression is null.");
            }
            if (client == null) {
                throw new CrawlerSystemException("CrawlerClient is null.");
            }
            int current = 0;
            boolean added = false;
            final Map<Pattern, CrawlerClient> newClientMap = new LinkedHashMap<>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/ReadWriteTest.java

            super(name, properties);
        }
    
        private static final long SEED = ( new Random() ).nextLong();
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
        }
    
    
        static Random getRandom () {
            return new Random(SEED);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

       *
       * @param map the mappings to be placed in the new map
       * @return a new {@code HashMap} initialized with the mappings from {@code map}
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object> HashMap<K, V> newHashMap(
          Map<? extends K, ? extends V> map) {
        return new HashMap<>(map);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top