Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for nextch (0.3 sec)

  1. pkg/kube/krt/fetch.go

    	"istio.io/istio/pkg/slices"
    )
    
    func FetchOne[T any](ctx HandlerContext, c Collection[T], opts ...FetchOption) *T {
    	res := Fetch[T](ctx, c, opts...)
    	switch len(res) {
    	case 0:
    		return nil
    	case 1:
    		return &res[0]
    	default:
    		panic("FetchOne found for more than 1 item")
    	}
    }
    
    func Fetch[T any](ctx HandlerContext, cc Collection[T], opts ...FetchOption) []T {
    	h := ctx.(registerDependency)
    	c := cc.(internalCollection[T])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ResolvedArtifactsGraphVisitor.java

            ) {
                int id = nextId++;
                return new ArtifactsForNode(id, new VariantResolvingArtifactSet(variantResolver, component, variant, dependency, graphVariantSelector, consumerSchema));
            }
    
            return artifactsByNodeId.computeIfAbsent(toNode.getNodeId(), (LongFunction<ArtifactsForNode>) value -> {
                int id = nextId++;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/internal/coverage/cformat/format.go

    	// maps function to index in slice above (index acts as function ID)
    	funcTable map[fnfile]uint32
    
    	// A table storing coverage counts for each coverable unit.
    	unitTable map[extcu]uint32
    }
    
    // extcu encapsulates a coverable unit within some function.
    type extcu struct {
    	fnfid uint32 // index into p.funcs slice
    	coverage.CoverableUnit
    }
    
    // fnfile is a function-name/file-name tuple.
    type fnfile struct {
    	file  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/go/types/typeparam.go

    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	// Always increment lastID, even if it is not used.
    	id := nextID()
    	if check != nil {
    		check.nextID++
    		id = check.nextID
    	}
    	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
    	if obj.typ == nil {
    		obj.typ = typ
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/typeparam.go

    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	// Always increment lastID, even if it is not used.
    	id := nextID()
    	if check != nil {
    		check.nextID++
    		id = check.nextID
    	}
    	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
    	if obj.typ == nil {
    		obj.typ = typ
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      }
    
      @JvmStatic
      fun threadFactory(name: String): ThreadFactory {
        return object : ThreadFactory {
          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread {
            return Thread(runnable, "$name-${nextId++}")
          }
        }
      }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/asm/internal/arch/ppc64.go

    		ppc64.AADDZECC, ppc64.AADDZEVCC, ppc64.AADDZEV, ppc64.AADDZE,
    		ppc64.ACNTLZDCC, ppc64.ACNTLZD, ppc64.ACNTLZWCC, ppc64.ACNTLZW,
    		ppc64.AEXTSBCC, ppc64.AEXTSB, ppc64.AEXTSHCC, ppc64.AEXTSH,
    		ppc64.AEXTSWCC, ppc64.AEXTSW, ppc64.ANEGCC, ppc64.ANEGVCC,
    		ppc64.ANEGV, ppc64.ANEG, ppc64.ASLBMFEE, ppc64.ASLBMFEV,
    		ppc64.ASLBMTE, ppc64.ASUBMECC, ppc64.ASUBMEVCC, ppc64.ASUBMEV,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Lpid   int32
    	Cpid   int32
    	Nattch uint32
    	_      [4]byte
    	_      [4]byte
    	_      [4]byte
    	_      int32
    	_      uint8
    	_      uint8
    	_      uint16
    	_      *byte
    	Segsz  uint64
    	Atime  Time_t
    	Dtime  Time_t
    	Ctime  Time_t
    }
    
    type SysvShmDesc64 struct {
    	Perm   SysvIpcPerm
    	_      [4]byte
    	Lpid   int32
    	Cpid   int32
    	Nattch uint32
    	_      [4]byte
    	_      [4]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/version.go

    // kubernetesReleaseVersionDefault is helper function that can fetch
    // available version information from release servers based on
    // label names, like "stable" or "latest".
    //
    // If argument is already semantic version string, it
    // will return same string.
    //
    // In case of labels, it tries to fetch from release
    // servers and then return actual semantic version.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:50:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top