Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,815 for add (0.01 seconds)

  1. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean add(@ParametricNullness E object) {
        if (needsAllocArrays()) {
          allocArrays();
        }
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.add(object);
        }
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                        list.add(IntItem.ZERO);
                    } else {
                        list.add(parseItem(isCombination, isDigit, version.substring(startIndex, i)));
                    }
                    isCombination = false;
                    startIndex = i + 1;
                } else if (c == '-') {
                    if (i == startIndex) {
                        list.add(IntItem.ZERO);
                    } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            // incidentEdge is a self-loop
    
            adjacentNodeValues.put(thisNode, new PredAndSucc(successorNodeToValueFn.apply(thisNode)));
    
            orderedNodeConnectionsBuilder.add(new NodeConnection.Pred<>(thisNode));
            orderedNodeConnectionsBuilder.add(new NodeConnection.Succ<>(thisNode));
            predecessorCount++;
            successorCount++;
          } else if (incidentEdge.nodeV().equals(thisNode)) { // incidentEdge is an inEdge
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param project the project to update
         * @param scope scope (main or test) of the directory to add
         * @param language language of the files contained in the directory to add
         * @param directory the directory to add if not already present in the source
         *
         * @see #getEnabledSourceRoots(Project, ProjectScope, Language)
         */
        void addSourceRoot(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                        context.success("Model upgrade completed");
                        modifiedPoms.add(pomPath);
                    } else {
                        // Treat invalid upgrades (including downgrades) as errors, not warnings
                        context.failure("Cannot upgrade from " + currentVersion + " to " + targetModelVersion);
                        errorPoms.add(pomPath);
                    }
                } catch (Exception e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. Dockerfile.release

    FROM golang:1.24-alpine AS build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH=/go
    ENV CGO_ENABLED=0
    
    WORKDIR /build
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        apk add -U --no-cache bash && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature files
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. cmd/metacache-entries_test.go

    					ModTime:   baseTime.Add(60 * time.Minute).UnixNano(),
    					Signature: [4]byte{2, 1, 1, 1},
    					Type:      ObjectType,
    					Flags:     0,
    				}},
    				{header: xlMetaV2VersionHeader{
    					VersionID: [16]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    					ModTime:   baseTime.Add(30 * time.Minute).UnixNano(),
    					Signature: [4]byte{1, 1, 1, 1},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          List<E> targetElements = new ArrayList<>();
          Iterator<E> iterator = newTargetIterator();
          for (int j = 0; j < i; j++) {
            targetElements.add(iterator.next());
          }
          iterator.forEachRemaining(targetElements::add);
          if (knownOrder == KnownOrder.KNOWN_ORDER) {
            assertEquals(expectedElements, targetElements);
          } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  9. internal/logger/target/http/http.go

    func (h *Target) startQueueProcessor(ctx context.Context, mainWorker bool) {
    	h.logChMu.RLock()
    	if h.logCh == nil {
    		h.logChMu.RUnlock()
    		return
    	}
    	h.logChMu.RUnlock()
    
    	h.workers.Add(1)
    	defer h.workers.Add(-1)
    
    	h.wg.Add(1)
    	defer h.wg.Done()
    
    	entries := make([]any, 0)
    	name := h.Name()
    
    	defer func() {
    		// re-load the global buffer pointer
    		// in case it was modified by a new target.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *   ...
     * }
     * </pre>
     *
     * <p>No cascading checks are performed against the return values of methods unless the method is a
     * static factory method. Neither are semantics of mutation methods such as {@code
     * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see
     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
Back to Top