Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,910 for result7 (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

        val atomicTags = AtomicReference<Tags>(tags)
        val result =
          atomicTags.computeIfAbsent(String::class) {
            // 'Race' by making another computeIfAbsent call. In practice this would be another thread.
            assertThat(atomicTags.computeIfAbsent(Integer::class) { 5 as Integer }).isEqualTo(5)
            "a"
          }
        assertThat(result).isEqualTo("a")
        assertThat(atomicTags.get()[String::class]).isEqualTo("a")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractIterator.java

       * {@code next} invocation that invoked this method. Any further attempts to use the iterator will
       * result in an {@link IllegalStateException}.
       *
       * <p>The implementation of this method may not invoke the {@code hasNext}, {@code next}, or
       * {@link #peek()} methods on this instance; if it does, an {@code IllegalStateException} will
       * result.
       *
       * @return the next element if there was one. If {@code endOfData} was called during execution,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

            request.setPom(project.getModel());
    
            try {
                PluginPrefixResult result = pluginPrefixResolver.resolve(request);
    
                Plugin plugin = new Plugin();
                plugin.setGroupId(result.getGroupId());
                plugin.setArtifactId(result.getArtifactId());
    
                return plugin;
            } catch (NoPluginFoundForPrefixException e) {
                return null;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. internal/config/identity/plugin/config.go

    				result.MaxValiditySeconds, minValidityDurationSeconds, maxValidityDurationSeconds)
    		}
    
    		return AuthNResponse{
    			Success: &result,
    		}, nil
    
    	case 403:
    		var result AuthNErrorResponse
    		if err = json.NewDecoder(resp.Body).Decode(&result); err != nil {
    			return AuthNResponse{}, err
    		}
    		return AuthNResponse{
    			Failure: &result,
    		}, nil
    
    	default:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/EnumMultiset.java

       *
       * @since 14.0
       */
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements, Class<E> type) {
        EnumMultiset<E> result = create(type);
        Iterables.addAll(result, elements);
        return result;
      }
    
      private transient Class<E> type;
      private transient E[] enumConstants;
      private transient int[] counts;
      private transient int distinctElements;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @param root the Maven Dependency, must not be {@code null}
         * @param scope the {link PathScope} to collect dependencies, must not be {@code null}
         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         * @see #collect(DependencyResolverRequest)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 16 14:15:37 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

      public static <K, V> SortedSetMultimapTestSuiteBuilder<K, V> using(
          TestSetMultimapGenerator<K, V> generator) {
        SortedSetMultimapTestSuiteBuilder<K, V> result = new SortedSetMultimapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      }
    
      @Benchmark
      byte hashing(int reps) {
        byte result = 0x01;
        HashMethod hashMethod = this.hashMethod;
        Algorithm algorithm = this.algorithm;
        for (int i = 0; i < reps; i++) {
          result ^= hashMethod.hash(algorithm, testBytes)[0];
        }
        return result;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

        if (inverse != null) {
          return inverse;
        } else {
          // racy single-check idiom
          ImmutableBiMap<V, K> result = lazyInverse;
          if (result == null) {
            return lazyInverse = new SingletonImmutableBiMap<>(singleValue, singleKey, this);
          } else {
            return result;
          }
        }
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

     * [receiveRequest] in the sequence they are run.
     */
    class MockSocketHandler : SocketHandler {
      private val actions = LinkedBlockingQueue<Action>()
      private val results = LinkedBlockingQueue<FutureTask<Void>>()
    
      fun receiveRequest(expected: String) =
        apply {
          actions += { stream ->
            val actual = stream.source.readUtf8(expected.utf8Size())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top