Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4041 - 4050 of 5,353 for Return (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

      }
    
      @Benchmark
      int iteration(int reps) {
        int x = 0;
    
        for (int i = 0; i < reps; i++) {
          for (Element y : setToTest) {
            x ^= System.identityHashCode(y);
          }
        }
        return x;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. guava-gwt/test/com/google/common/GwtTestSuite.java

            @SuppressWarnings("unchecked")
            Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz;
            suite.addTestSuite(cast);
          }
        }
        return suite;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            }
    
            @Override
            public void close() throws IOException {
                super.close();
                notify_ = "closed";
            }
    
            public String getNotify() {
                return notify_;
            }
        }
    
        private static class IOExceptionOccurOutputStream extends OutputStream {
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java

         *      org.apache.maven.artifact.resolver.ResolutionNode)
         */
    
        @Override
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            return node1.getDepth() <= node2.getDepth() ? node1 : node2;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java

            transliterator = Transliterator.getInstance(transliteratorId);
        }
    
        @Override
        public String normalize(final String text, final String field, final String... langs) {
            return transliterator.transliterate(text);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

                }
            }
        }
    
        private String processResponseType(SsoResponseType type) {
            switch (type) {
            case METADATA:
                return "metadata";
            case LOGOUT:
                return "logout";
            default:
                throw new IllegalArgumentException("Unknown type: " + type);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/BoundType.java

      OPEN(false),
      CLOSED(true);
    
      final boolean inclusive;
    
      BoundType(boolean inclusive) {
        this.inclusive = inclusive;
      }
    
      /** Returns the bound type corresponding to a boolean value for inclusivity. */
      static BoundType forBoolean(boolean inclusive) {
        return inclusive ? CLOSED : OPEN;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

              public @Nullable Void call() throws Exception {
                // adds two nanoseconds to the ticker
                ticker.advance(1L);
                Thread.sleep(10);
                ticker.advance(1L);
                return null;
              }
            });
    
        assertEquals(numberOfThreads * 2, ticker.read());
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAutoIncrementStep() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

      @CanIgnoreReturnValue
      public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) {
        groups.add(ImmutableList.copyOf(group));
        return this;
      }
    
      public void test() {
        for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) {
          ImmutableList<T> group = groups.get(groupNumber);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

          }
          return builder.build();
        }
      }
    
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
      public static class ImmutableListMultimapCopyOfEntriesGenerator
          extends TestStringListMultimapGenerator {
        @Override
        protected ListMultimap<String, String> create(Entry<String, String>[] entries) {
          return ImmutableListMultimap.copyOf(Arrays.asList(entries));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top