Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3291 - 3300 of 6,689 for Public (0.09 sec)

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

    /**
     * Unit test for FarmHashFingerprint64.
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    public class FarmHashFingerprint64Test extends TestCase {
    
      private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64();
    
      // If this test fails, all bets are off
      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

    import org.codelibs.fess.crawler.util.TextUtil.TextNormalizeContext;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     * @author kaorufuzita
     */
    public class TextUtilTest extends PlainTestCase {
    
        public void test_getContent() {
            assertEquals("", normalizeText((String) null, 100, -1, -1, false));
            assertEquals("", normalizeText("", 100, -1, -1, false));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Parameter.java

        this.annotatedType = annotatedType;
      }
    
      /** Returns the type of the parameter. */
      public TypeToken<?> getType() {
        return type;
      }
    
      /** Returns the {@link Invokable} that declares this parameter. */
      public Invokable<?, ?> getDeclaringInvokable() {
        return declaration;
      }
    
      @Override
      public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SortedMapInterfaceTest;
    import java.util.SortedMap;
    
    @GwtCompatible
    public class TreeBasedTableRowMapInterfaceTest extends SortedMapInterfaceTest<String, String> {
      public TreeBasedTableRowMapInterfaceTest() {
        super(false, false, true, true, true);
      }
    
      @Override
      protected SortedMap<String, String> makeEmptyMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 29 15:15:31 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        }
    
        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

    /** Tests for a directed {@link ImmutableNetwork}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    public class StandardImmutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
    
      @Parameters(name = "allowsSelfLoops={0}, allowsParallelEdges={1}, nodeOrder={2}, edgeOrder={3}")
      public static Collection<Object[]> parameters() {
        ElementOrder<?> naturalElementOrder = ElementOrder.sorted(Ordering.natural());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/LegacyComparable.java

      LegacyComparable(String value) {
        this.value = value;
      }
    
      @Override
      public int compareTo(Object object) {
        // This method is spec'd to throw CCE if object is of the wrong type
        LegacyComparable that = (LegacyComparable) object;
        return this.value.compareTo(that.value);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof LegacyComparable) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        }
    
        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingListenableFuture<V extends @Nullable Object>
        extends ForwardingFuture<V> implements ListenableFuture<V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingListenableFuture() {}
    
      @Override
      protected abstract ListenableFuture<? extends V> delegate();
    
      @Override
      public void addListener(Runnable listener, Executor exec) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 04 12:23:41 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. cmd/notification-summary.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top