Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2921 - 2930 of 8,165 for public (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedMapGenerator extends TestStringMapGenerator
        implements TestSortedMapGenerator<String, String> {
      @Override
      public Entry<String, String> belowSamplesLesser() {
        return mapEntry("!! a", "below view");
      }
    
      @Override
      public Entry<String, String> belowSamplesGreater() {
        return mapEntry("!! b", "below view");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

    /**
     * Tests {@link ImmutableTable}
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    public abstract class AbstractImmutableTableTest extends TestCase {
    
      abstract Iterable<ImmutableTable<Character, Integer, String>> getTestInstances();
    
      public final void testClear() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

    import jnr.unixsocket.UnixSocketChannel;
    
    /** Impersonate TCP-style SocketFactory over UNIX domain sockets. */
    public final class UnixDomainSocketFactory extends SocketFactory {
      private final File path;
    
      public UnixDomainSocketFactory(File path) {
        this.path = path;
      }
    
      @Override public Socket createSocket() throws IOException {
        UnixSocketChannel channel = UnixSocketChannel.open();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Dec 03 21:33:52 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedMapGenerator extends TestStringMapGenerator
        implements TestSortedMapGenerator<String, String> {
      @Override
      public Entry<String, String> belowSamplesLesser() {
        return mapEntry("!! a", "below view");
      }
    
      @Override
      public Entry<String, String> belowSamplesGreater() {
        return mapEntry("!! b", "below view");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

         */
        public KuromojiFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
        public String getType() {
            return KUROMOJI;
        }
    
        @Override
        public String getPath() {
            return path;
        }
    
        @Override
        public synchronized OptionalEntity<KuromojiItem> get(final long id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalTestArtifactPlugin.java

     * or more contributor license agreements. Licensed under the Elastic License
     * 2.0 and the Server Side Public License, v 1; you may not use this file except
     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal;
    
    import org.gradle.api.Plugin;
    import org.gradle.api.Project;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapContainsValueTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(absent = ZERO)
      public void testContains_yes() {
        assertTrue("containsValue(present) should return true", getMap().containsValue(v0()));
      }
    
      public void testContains_no() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  8. benchmarks/src/main/java/org/elasticsearch/benchmark/indices/breaker/MemoryStatsBenchmark.java

    @SuppressWarnings("unused") // invoked by benchmarking framework
    public class MemoryStatsBenchmark {
        private static final MemoryMXBean MEMORY_MX_BEAN = ManagementFactory.getMemoryMXBean();
    
        @Param({ "0", "16", "256", "4096" })
        private int tokens;
    
        @Benchmark
        public void baseline() {
            Blackhole.consumeCPU(tokens);
        }
    
        @Benchmark
        @Threads(1)
        public long getMemoryStats_01() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapPutAllMultimapTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutUnsupported() {
        assertThrows(
            UnsupportedOperationException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapPutAllMultimapTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutUnsupported() {
        assertThrows(
            UnsupportedOperationException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top