Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 2,060 for result (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        internal fun readInt(source: BufferedSource): Int {
          try {
            val result = source.readDecimalLong()
            val line = source.readUtf8LineStrict()
            if (result < 0L || result > Integer.MAX_VALUE || line.isNotEmpty()) {
              throw IOException("expected an int but was \"$result$line\"")
            }
            return result.toInt()
          } catch (e: NumberFormatException) {
            throw IOException(e.message)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  2. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        val result = Buffer()
        result.zstdCompress().buffer().use {
          it.write(this@zstdCompress)
        }
        return result.readByteString()
      }
    
      private fun ByteString.gzipCompress(): ByteString {
        val result = Buffer()
        (result as Sink).gzip().buffer().use {
          it.write(this@gzipCompress)
        }
        return result.readByteString()
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

            }
            if (!mains.isEmpty() && !consumers.isEmpty()) {
                ArrayList<Artifact> result = new ArrayList<>(artifacts);
                for (Artifact main : mains) {
                    result.remove(main);
                    if (deployBuildPom) {
                        // Add the main POM as a build POM with "build" classifier
                        result.add(new DefaultArtifact(
                                main.getGroupId(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        @Override
        @ParametricNullness
        public T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
          T result = result(entryIndex);
          toRemove = entryIndex;
          entryIndex = backingMap.nextIndex(entryIndex);
          return result;
        }
    
        @Override
        public void remove() {
          checkForConcurrentModification();
          CollectPreconditions.checkRemove(toRemove != -1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
        assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS));
        assertThat(target.finished).isTrue();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/cache/package-info.java

     *   <li>DISABLED - No caching performed</li>
     * </ul>
     * <p>
     * Example usage:
     * <pre>
     * RequestCache cache = cacheFactory.createCache();
     * Result result = cache.request(myRequest, req -> {
     *     // Expensive operation to compute result
     *     return computedResult;
     * });
     * </pre>
     * <p>
     * The package also provides support for batch operations through {@link org.apache.maven.api.cache.BatchRequestException}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                request.setTrace(trace);
                ArtifactDescriptorResult result = repoSystem.readArtifactDescriptor(pluginSession, request);
    
                for (MavenPluginDependenciesValidator dependenciesValidator : dependenciesValidators) {
                    dependenciesValidator.validate(session, pluginArtifact, result);
                }
    
                pluginArtifact = result.getArtifact();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            String result = dcerpcBinding.toString();
            assertTrue(result.startsWith(PROTO + ":" + SERVER + "[null,"), "toString should start correctly.");
            assertTrue(result.contains("connect=80"), "toString should contain connect option.");
            assertTrue(result.contains("bind=123"), "toString should contain bind option.");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

            } else {
              call.eventListener.dnsStart(call, socketHost)
    
              val result = address.dns.lookup(socketHost)
              if (result.isEmpty()) {
                throw UnknownHostException("${address.dns} returned no addresses for $socketHost")
              }
    
              call.eventListener.dnsEnd(call, socketHost, result)
              result
            }
    
          // Try each address for best behavior in mixed IPv4/IPv6 environments.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 7.3K bytes
    - Viewed (2)
  10. src/test/java/jcifs/ConfigTest.java

            InetAddress[] result = Config.getInetAddressArray(testProperties, "test.hosts", ",", defaultArray);
            assertEquals(2, result.length);
            assertEquals(InetAddress.getByName("localhost"), result[0]);
            assertEquals(InetAddress.getByName("127.0.0.1"), result[1]);
    
            result = Config.getInetAddressArray(testProperties, "nonexistent.hosts", ",", defaultArray);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top