Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4231 - 4240 of 5,326 for Returns (0.07 sec)

  1. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        val dispatcher: Dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              requestsMade.add(request)
              return MockResponse()
            }
          }
        assertThat(requestsMade.size).isEqualTo(0)
        mockWebServer.dispatcher = dispatcher
        val url = mockWebServer.url("/").toUrl()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

          }
        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        // No TLS extensions if the socket class is custom.
        if (!matchesSocket(sslSocket)) {
          return null
        }
    
        return try {
          val alpnResult = getAlpnSelectedProtocol.invoke(sslSocket) as ByteArray?
          alpnResult?.toString(Charsets.UTF_8)
        } catch (e: IllegalAccessException) {
          throw AssertionError(e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

          MultimapBuilderWithKeys<Comparable> treeKeys) {
        return (MultimapBuilderWithKeys) treeKeys;
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static <K extends @Nullable Object>
          SortedSetMultimapBuilder<K, Comparable<?>> rawtypeToWildcard(
              SortedSetMultimapBuilder<K, Comparable> setMultimapBuilder) {
        return (SortedSetMultimapBuilder) setMultimapBuilder;
      }
    
      @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. cmd/metrics-v3-cluster-erasure-set.go

    	erasureSetWriteHealthMD = NewGaugeMD(erasureSetWriteHealth,
    		"Health of the erasure set in a pool for write operations (1=healthy, 0=unhealthy)",
    		poolIDL, setIDL)
    )
    
    func b2f(v bool) float64 {
    	if v {
    		return 1
    	}
    	return 0
    }
    
    // loadClusterErasureSetMetrics - `MetricsLoaderFn` for cluster storage erasure
    // set metrics.
    func loadClusterErasureSetMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

            this.secondaryParameterOffset = NTT_SECONDARY_PARAMETER_OFFSET;
        }
    
        /**
         *
         * @return a cancel request
         */
        @Override
        public CommonServerMessageBlockRequest createCancel() {
            return new SmbComNtCancel(getConfig(), (int) getMid());
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

                if (response.request.header("Authorization") != null) {
                  return null // Give up, we've already attempted to authenticate.
                }
    
                println("Authenticating for response: $response")
                println("Challenges: ${response.challenges()}")
                val credential = Credentials.basic("jesse", "password1")
                return response.request
                  .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java

        if (seenExceptions == null) {
          seenExceptions = newHashSet();
          addInitialException(seenExceptions);
        }
        return seenExceptions;
      }
    
      abstract void addInitialException(Set<Throwable> seen);
    
      final int decrementRemainingAndGet() {
        return --remaining;
      }
    
      final void clearSeenExceptions() {
        seenExceptions = null;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

          total += s.elapsed(NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += System.nanoTime() - start;
        }
        return total;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    logError("Error updating file", e);
                }
            }
    
            return true;
        }
    
        /**
         * Gets the fully qualified class name for a type element, including handling inner classes.
         *
         * @param typeElement the type element to get the class name for
         * @return the fully qualified class name
         */
        private String getFullClassName(TypeElement typeElement) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. cmd/main.go

    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		// avoid registering commands which are not being built (via
    		// go:build tags)
    		if command.Name == "" {
    			return
    		}
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top