Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 210 for allocate (0.11 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                        try {
                            return injector.getInstance(type);
                        } catch (DIException e) {
                            throw new MavenException("Unable to locate instance of type " + type, e);
                        }
                    }
    
                    @Override
                    public <T> T lookup(Class<T> type, String name) {
                        try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContext.java

        @Override
        public Model getRawModel(Path from, String groupId, String artifactId) {
            return Holder.deref(modelByGA.get(new GAKey(groupId, artifactId)));
        }
    
        @Override
        public Path locate(Path path) {
            File file = modelLocator.locateExistingPom(path.toFile());
            return file != null ? file.toPath() : null;
        }
    
        static class GAKey {
            private final String groupId;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList<String> list = ImmutableList.of("a", "b");
        assertSame(list, list.asList());
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
      @GwtIncompatible // actually allocates nCopies
      @J2ktIncompatible // actually allocates nCopies
      public void testAddOverflowCollection() {
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        for (int i = 0; i < 100; i++) {
          builder.add("a");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/MD4.java

         * @param    len        count of bytes in input block to consider
         */
        public void engineUpdate (byte[] input, int offset, int len) {
            // make sure we don't exceed input's allocated size/length
            if (offset < 0 || len < 0 || (long)offset + len > input.length)
                throw new ArrayIndexOutOfBoundsException();
    
            // compute number of bytes still unhashed; ie. present in buffer
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  5. architecture/standards/0001-use-architectural-decision-records.md

    ## Consequences
    
    * X
    * Y
    * Z
    ```
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * We start to use Architectural Decision Records
    * We use the proposed template from this ADR
    * We locate `.md` files in the folder `/architecture-standards`
    * We highly encourage usage of ADR to communicate decisions
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Mar 02 21:54:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource3.java

         * to find the POM file, else if no locator is provided, a file named 'pom.xml' needs to be
         * used by the requested model source.
         *
         * @param locator locator used to locate the pom file
         * @param relPath path of the requested model source relative to this model source POM
         * @return related model source or <code>null</code> if no such model source
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /** Returns whether arrays need to be allocated. */
      boolean needsAllocArrays() {
        return table == null;
      }
    
      /** Handle lazy allocation of arrays. */
      @CanIgnoreReturnValue
      int allocArrays() {
        Preconditions.checkState(needsAllocArrays(), "Arrays already allocated");
    
        int expectedSize = metadata;
        int buckets = CompactHashing.tableSize(expectedSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. internal/crypto/sse-kms.go

    	return key, err
    }
    
    // CreateMetadata encodes the sealed object key into the metadata and returns
    // the modified metadata. If the keyID and the kmsKey is not empty it encodes
    // both into the metadata as well. It allocates a new metadata map if metadata
    // is nil.
    func (ssekms) CreateMetadata(metadata map[string]string, keyID string, kmsKey []byte, sealedKey SealedKey, ctx kms.Context) map[string]string {
    	if sealedKey.Algorithm != SealAlgorithm {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.7.md

    * Address a bug which allowed the horizontal pod autoscaler to allocate `desiredReplicas` > `maxReplicas` in certain instances. ([#53690](https://github.com/kubernetes/kubernetes/pull/53690), [@mattjmcnaughton](https://github.com/mattjmcnaughton))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root }
            if (matches.isEmpty()) {
                throw GradleException("Could not locate any matches for $notation")
            }
            matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top