Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 138 for get_default (0.07 sec)

  1. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().get(key);
          }
        }
    
        @Override
        public @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) {
          synchronized (mutex) {
            return delegate().getOrDefault(key, defaultValue);
          }
        }
    
        @Override
        public boolean isEmpty() {
          synchronized (mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

          return this.getClass().getSimpleName() + "[" + index + "]";
        }
      }
    
      public void testNulls() {
        ServiceManager manager = new ServiceManager(Arrays.asList());
        new NullPointerTester()
            .setDefault(ServiceManager.Listener.class, new RecordingListener())
            .testAllPublicInstanceMethods(manager);
      }
    
      private static final class RecordingListener extends ServiceManager.Listener {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(double.class, 3.0);
        tester.testAllPublicStaticMethods(DoubleMath.class);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/IntMathTest.java

        return big.bitLength() <= 31;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(int.class, 1);
        tester.testAllPublicStaticMethods(IntMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        assertThat(tester.instantiate(MyAnnotation.class)).isNull();
      }
    
      public void testInstantiate_setDefault() throws Exception {
        NotInstantiable x = new NotInstantiable();
        tester.setDefault(NotInstantiable.class, x);
        assertThat(tester.instantiate(ConstructorParameterNotInstantiable.class)).isNotNull();
      }
    
      public void testSetDistinctValues_equalInstances() {
        assertThrows(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

            }
    
            this.localPid = (int) (Math.random() * 65536d);
            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if (this.machineId == null) {
                final byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          }
          return // Already started.
        }
    
        var boundSocketAddress = socketAddress
        try {
          val serverSocketFactory =
            serverSocketFactory_
              ?: (ServerSocketFactory.getDefault()!!.also { this.serverSocketFactory_ = it })
    
          val serverSocket =
            serverSocketFactory
              .createServerSocket()!!
              .also { this.serverSocket = it }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. api/go1.21.txt

    pkg log/slog, func NewRecord(time.Time, Level, string, uintptr) Record #56345
    pkg log/slog, func NewTextHandler(io.Writer, *HandlerOptions) *TextHandler #59339
    pkg log/slog, func SetDefault(*Logger) #56345
    pkg log/slog, func String(string, string) Attr #56345
    pkg log/slog, func StringValue(string) Value #56345
    pkg log/slog, func Time(string, time.Time) Attr #56345
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                                    if (phase == null) {
                                        continue;
                                    }
                                    String tmpResolvedPhase = plan.aliases().getOrDefault(phase, phase);
                                    String resolvedPhase = tmpResolvedPhase.startsWith(AT)
                                            ? tmpResolvedPhase.substring(AT.length())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            if (cookieSpecRegistry != null) {
                return cookieSpecRegistry;
            }
    
            final PublicSuffixMatcher publicSuffixMatcher = PublicSuffixMatcherLoader.getDefault();
            final CookieSpecProvider defaultProvider =
                    new DefaultCookieSpecProvider(CompatibilityLevel.DEFAULT, publicSuffixMatcher, cookieDatePatterns, false);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
Back to top