Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2741 - 2750 of 3,758 for null (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

      }
    
      @Test
      fun selectedProtocolIsNullWhenSslSocketThrowsExceptionForApplicationProtocol() {
        platform.assumeJdk9()
        val applicationProtocolUnsupported =
          object : DelegatingSSLSocket(null) {
            override fun getApplicationProtocol(): String = throw UnsupportedOperationException("Mock exception")
          }
        assertThat(Jdk9Platform().getSelectedProtocol(applicationProtocolUnsupported)).isNull()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        write(out, data, 0, 100, true);
        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
              public boolean isDone() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

    /**
     * ManagedVersionMap
     */
    @Deprecated
    public class ManagedVersionMap extends HashMap<String, Artifact> {
        public ManagedVersionMap(Map<String, Artifact> map) {
            super();
            if (map != null) {
                putAll(map);
            }
        }
    
        @Override
        public String toString() {
            StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/Dispatcher.java

          if (!dispatching.get()) {
            dispatching.set(true);
            try {
              Event nextEvent;
              while ((nextEvent = queueForThread.poll()) != null) {
                while (nextEvent.subscribers.hasNext()) {
                  nextEvent.subscribers.next().dispatchEvent(nextEvent.event);
                }
              }
            } finally {
              dispatching.remove();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

                        @Override
                        public List<Pattern> load(final String key) {
                            return getList(OpenSearchUrlFilter.class, key, QueryBuilders.termQuery(FILTER_TYPE, type), null, maxLoadSize, null)
                                    .stream()
                                    .map(f -> Pattern.compile(f.getUrl()))
                                    .collect(Collectors.toList());
                        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

            setCreateTime(System.currentTimeMillis());
            if (responseData != null) {
                BeanUtil.copyBeanToBean(responseData, this);
            }
    
            final AccessResultData<IDTYPE> accessResultData = new AccessResultDataImpl<>();
            if (resultData != null) {
                BeanUtil.copyBeanToBean(resultData, accessResultData);
            }
            setAccessResultData(accessResultData);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
            var e: Throwable? = uhe
            while (e != null) {
              println(e)
              e = e.cause
            }
          }
        }
        println()
      }
      time = System.currentTimeMillis() - time
      println("Time: ${time.toDouble() / 1000} seconds\n")
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

        }
        for (Thread thread : blockedThreads) {
          AbstractFutureBenchmarks.awaitWaiting(thread);
        }
        switch (state) {
          case NOT_DONE:
            break;
          case FINISHED:
            f.set(null);
            break;
          case CANCELLED:
            f.cancel(false);
            break;
          case FAILED:
            f.setException(new Exception());
            break;
        }
        return f;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

      /** Adds the most recently logged record to our list. */
      @Override
      public void publish(@Nullable LogRecord record) {
        synchronized (lock) {
          if (record != null) {
            list.add(record);
          }
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public void clear() {
        synchronized (lock) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

        public RdmaConnection connect(String hostname, int port) throws IOException {
            InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port);
            RdmaConnection connection = createConnection(remoteAddress, null);
            connection.connect();
            return connection;
        }
    
        @Override
        public RdmaMemoryRegion registerMemory(ByteBuffer buffer, EnumSet<RdmaAccess> access) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top