Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 486 for nextId (0.41 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        Object[] unused2 = set.toArray(new Object[2]);
      }
    
      interface Interface extends Comparable<Interface> {}
    
      static class Impl implements Interface {
        static int nextId;
        Integer id = nextId++;
    
        @Override
        public int compareTo(Interface other) {
          return id.compareTo(((Impl) other).id);
        }
      }
    
      public void testOf_ordering_dupes() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  7. src/go/types/check.go

    	conf *Config
    	ctxt *Context // context for de-duplicating instances
    	fset *token.FileSet
    	pkg  *Package
    	*Info
    	version goVersion              // accepted language version
    	nextID  uint64                 // unique Id for type parameters (first valid Id is 1)
    	objMap  map[Object]*declInfo   // maps package-level objects and (non-interface) methods to declaration info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/check.go

    	conf *Config
    	ctxt *Context // context for de-duplicating instances
    	pkg  *Package
    	*Info
    	version goVersion              // accepted language version
    	nextID  uint64                 // unique Id for type parameters (first valid Id is 1)
    	objMap  map[Object]*declInfo   // maps package-level objects and (non-interface) methods to declaration info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/body-nested-models.md

        ```
    
    ## Editor-Unterstützung überall
    
    Und Sie erhalten Editor-Unterstützung überall.
    
    Selbst für Dinge in Listen:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Sie würden diese Editor-Unterstützung nicht erhalten, wenn Sie direkt mit `dict`, statt mit Pydantic-Modellen arbeiten würden.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/body-nested-models.md

        ```
    
    ## Универсальная поддержка редактора
    
    И вы получаете поддержку редактора везде.
    
    Даже для элементов внутри списков:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Вы не могли бы получить такую поддержку редактора, если бы работали напрямую с `dict`, а не с моделями Pydantic.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top