Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 488 for code (0.13 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        }
    
        @Override
        public Node getNode(org.eclipse.aether.graph.DependencyNode node) {
            return getNode(node, false);
        }
    
        @Override
        public Node getNode(org.eclipse.aether.graph.DependencyNode node, boolean verbose) {
            return allNodes.computeIfAbsent(node, n -> new DefaultNode(this, n, verbose));
        }
    
        @Nonnull
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
       *   <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
       * </ul>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. tests/test_query.py

        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_param_query_50():
        response = client.get("/query/param?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    def test_query_param_required():
        response = client.get("/query/param-required")
        assert response.status_code == 422
        assert response.json() == IsDict(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. doc/go_mem.html

    }
    </pre>
    
    <p>
    is guaranteed to print <code>"hello, world"</code>.
    The first call to <code>l.Unlock()</code> (in <code>f</code>) is synchronized
    before the second call to <code>l.Lock()</code> (in <code>main</code>) returns,
    which is sequenced before the <code>print</code>.
    </p>
    
    <p class="rule">
    For any call to <code>l.RLock</code> on a <code>sync.RWMutex</code> variable <code>l</code>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

       *
       * <p>Note that if {@code list} is a {@code List<String>}, then {@code ImmutableList.copyOf(list)}
       * returns an {@code ImmutableList<String>} containing each of the strings in {@code list}, while
       * {@code ImmutableList.of(list)} returns an {@code ImmutableList<List<String>>} containing one
       * element (the given list itself).
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Optional.java

     *       {@code flatMap}, and {@code orElseThrow}.
     *   <li>{@code java.util} offers the primitive-specialized versions {@code OptionalInt}, {@code
     *       OptionalLong} and {@code OptionalDouble}, the use of which is recommended; Guava does not
     *       have these.
     * </ul>
     *
     * <p><b>There are no plans to deprecate this class in the foreseeable future.</b> However, we do
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}.
       * If {@code k} is the size of the returned {@code ImmutableSortedSet}, then the sorted unique
       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
       * <p>This method takes ownership of {@code contents}; do not modify {@code contents} after this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactFactory.class).create(...)}.
         *
         * @param groupId the group identifier, or {@code null} is unspecified
         * @param artifactId the artifact identifier, or {@code null} is unspecified
         * @param version the artifact version, or {@code null} is unspecified
         * @param extension the artifact extension, or {@code null} is unspecified
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *
       * <p>Note that if {@code s} is a {@code Multiset<String>}, then {@code
       * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>}
       * containing each of the strings in {@code s}, while {@code ImmutableSortedMultiset.of(s)}
       * returns an {@code ImmutableSortedMultiset<Multiset<String>>} containing one element (the given
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

      }
    
      /**
       * Constructs an {@code ImmutableSet} from the first {@code n} elements of the specified array. If
       * {@code k} is the size of the returned {@code ImmutableSet}, then the unique elements of {@code
       * elements} will be in the first {@code k} positions, and {@code elements[i] == null} for {@code
       * k <= i < n}.
       *
       * <p>After this method returns, {@code elements} will contain no duplicates, but {@code elements}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top