Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 48 for 321 (0.04 seconds)

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

            .addEqualityGroup(
                newHashSet(3, 2),
                union(singleton(3), singleton(2)),
                intersection(newHashSet(3, 2), newHashSet(3, 2, 1)),
                difference(newHashSet(3, 2, 1), newHashSet(1)),
                symmetricDifference(newHashSet(3, 1), newHashSet(2, 1)))
            .addEqualityGroup(
                newHashSet(1, 2, 3),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            // Clear execution order before test
            PriorityTrackingBooster.clearExecutionOrder();
    
            scoreUpdater.execute();
    
            // Boosters should be executed in priority order (3, 2, 1)
            List<Integer> executionOrder = PriorityTrackingBooster.getExecutionOrder();
            assertEquals(3, executionOrder.size());
            assertEquals(Integer.valueOf(3), executionOrder.get(0));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 3, 0, 100));
            assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 3, 2, -1));
        }
    
        @Test
        @DisplayName("Test statistics toString")
        void testStatisticsToString() throws Exception {
            circuitBreaker.call(() -> "success");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * link(), which is defined at the end of this file.
       */
    
      private int getPredecessor(int entry) {
        return ((int) (link(entry) >>> 32)) - 1;
      }
    
      @Override
      int getSuccessor(int entry) {
        return ((int) link(entry)) - 1;
      }
    
      private void setSuccessor(int entry, int succ) {
        long succMask = ~0L >>> 32;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        multimap.put("bar", 1);
        multimap.putAll("foo", asList(-1, 2, 4));
        multimap.putAll("bar", asList(2, 3));
        multimap.put("foo", 1);
        assertThat(multimap.toString()).isEqualTo("{bar=[3, 2, 1], foo=[4, 3, 2, 1, -1]}");
      }
    
      public void testGetComparator() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        assertEquals(StringLength.COMPARATOR, multimap.keyComparator());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            b.addDependency("c", "3.3.0-v3346");
    
            ArtifactSpec c = createArtifactSpec("c", "3.2.1-v3235e");
    
            OverConstrainedVersionException e = assertThrows(
                    OverConstrainedVersionException.class, () -> collect(createSet(new Object[] {a.artifact})));
            assertTrue(e.getMessage().contains("[3.2.1-v3235e, 3.3.0-v3346]"), "Versions unordered");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      private static final int MAXIMUM_CAPACITY = 1 << 30;
    
      static final float DEFAULT_LOAD_FACTOR = 1.0f;
    
      /** Bitmask that selects the low 32 bits. */
      private static final long NEXT_MASK = (1L << 32) - 1;
    
      /** Bitmask that selects the high 32 bits. */
      private static final long HASH_MASK = ~NEXT_MASK;
    
      static final int DEFAULT_SIZE = 3;
    
      // used to indicate blank table entries
      static final int UNSET = -1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            final int len = str.length();
            int ch, size = 0;
            byte[] dst;
    
            for (int i = 0; i < len; i++) {
                ch = str.charAt(i);
                size += ch > 0x07F ? ch > 0x7FF ? 3 : 2 : 1;
            }
            dst = new byte[size];
            writeShort(size);
            try {
                Encdec.enc_utf8(str, dst, 0, size);
            } catch (final IOException ioe) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        for (int r = Character.MIN_RADIX; r <= Character.MAX_RADIX; r++) {
          int radix = r;
          // tests can successfully parse a number string with this radix.
          String maxAsString = Long.toString((1L << 32) - 1, radix);
          assertThat(UnsignedInts.parseUnsignedInt(maxAsString, radix)).isEqualTo(-1);
    
          assertThrows(
              NumberFormatException.class,
              () -> {
                long overflow = 1L << 32;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * link(), which is defined at the end of this file.
       */
    
      private int getPredecessor(int entry) {
        return ((int) (link(entry) >>> 32)) - 1;
      }
    
      @Override
      int getSuccessor(int entry) {
        return ((int) link(entry)) - 1;
      }
    
      private void setSuccessor(int entry, int succ) {
        long succMask = ~0L >>> 32;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top