Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,298 for nextId (0.18 sec)

  1. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationIdFactory.java

    /**
     * Provides an id unique within the global scope a build VM.
     */
    @ServiceScope(Scope.Global.class)
    public interface BuildOperationIdFactory {
    
        /**
         * @return the next unique ID
         */
        long nextId();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 982 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ClientForwardingTestOutputOperationListener.java

                InternalTestOutputDescriptor descriptor = new DefaultTestOutputDescriptor(new OperationIdentifier(idFactory.nextId()), buildOperationId);
                int destination = getDestination(progress.getOutput().getDestination());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/prog.go

    		}
    		return res, nil
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    func (c *ProgCache) writeToChild(req *ProgRequest, resc chan<- *ProgResponse) (err error) {
    	c.mu.Lock()
    	c.nextID++
    	req.ID = c.nextID
    	c.inFlight[req.ID] = resc
    	c.mu.Unlock()
    
    	defer func() {
    		if err != nil {
    			c.mu.Lock()
    			delete(c.inFlight, req.ID)
    			c.mu.Unlock()
    		}
    	}()
    
    	c.writeMu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. src/encoding/gob/type.go

    	copy(builtinIdToTypeSlice[:], idToTypeSlice)
    
    	// Move the id space upwards to allow for growth in the predefined world
    	// without breaking existing files.
    	if nextId := len(idToTypeSlice); nextId > firstUserId {
    		panic(fmt.Sprintln("nextId too large:", nextId))
    	}
    	idToTypeSlice = idToTypeSlice[:firstUserId]
    	registerBasics()
    	wireTypeUserInfo = userType(wireTypeType)
    }
    
    // Array type
    type arrayType struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildPhaseOperationListener.java

        }
    
        private DefaultBuildPhaseDescriptor toBuildOperationDescriptor(BuildOperationDescriptor buildOperation) {
            OperationIdentifier operationId = new OperationIdentifier(idFactory.nextId());
            OperationIdentifier parent = eventConsumer.findStartedParentId(buildOperation);
            String name = buildOperation.getName();
            String displayName = "Build phase: " + buildOperation.getDisplayName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ToolingApiBuildEventListenerFactory.java

        private ProblemsProgressEventConsumer createProblemsProgressConsumer(ProgressEventConsumer progressEventConsumer) {
            Supplier<OperationIdentifier> operationIdentifierSupplier = () -> new OperationIdentifier(idFactory.nextId());
            AggregatingProblemConsumer aggregator = new AggregatingProblemConsumer(progressEventConsumer, operationIdentifierSupplier);
            this.problemAggregator = Optional.of(aggregator);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/operations/TestListenerBuildOperationAdapter.java

                .details(details)
                .build(newOperationIdentifier(), parentId);
        }
    
        private OperationIdentifier newOperationIdentifier() {
            return new OperationIdentifier(buildOperationIdFactory.nextId());
        }
    
        private static class Details implements ExecuteTestBuildOperationType.Details {
            private final TestDescriptor testDescriptor;
            private final long startTime;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/progress/DefaultProgressLoggerFactory.java

            BuildOperationRef currentBuildOperation = currentBuildOperationRef.get();
            return new ProgressLoggerImpl(
                (ProgressLoggerImpl) parentOperation,
                new OperationIdentifier(buildOperationIdFactory.nextId()),
                loggerCategory,
                progressListener,
                clock,
                false,
                currentBuildOperation != null ? currentBuildOperation.getId() : null,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    }
    
    // A Connection is a remote connection.
    // There is no distinction externally whether the connection was initiated from
    // this server or from the remote.
    type Connection struct {
    	// NextID is the next ID that can be used (atomic).
    	NextID uint64
    
    	// LastPong is last pong time (atomic)
    	// Only valid when StateConnected.
    	LastPong int64
    
    	// State of the connection (atomic)
    	state State
    
    	// Non-atomic
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationRunner.java

            BuildOperationState parent = descriptorParent == null ? defaultParent : descriptorParent;
            OperationIdentifier id = new OperationIdentifier(buildOperationIdFactory.nextId());
            BuildOperationDescriptor descriptor = descriptorBuilder.build(id, parent == null
                ? null
                : parent.getDescription().getId());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:33:49 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top