- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 113 for nextch (0.34 sec)
-
src/cmd/compile/internal/syntax/source.go
// segment. func (s *source) rewind() { // ok to verify precondition - rewind is rarely called if s.b < 0 { panic("no active segment") } s.col -= uint(s.r - s.b) s.r = s.b s.nextch() } func (s *source) nextch() { redo: s.col += uint(s.chw) if s.ch == '\n' { s.line++ s.col = 0 } // fast common case: at least one ASCII character if s.ch = rune(s.buf[s.r]); s.ch < sentinel {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 05 19:25:46 UTC 2020 - 5.7K bytes - Viewed (0) -
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) -
src/syscall/exec_freebsd.go
// so that pass 2 won't stomp on an fd it needs later. if pipe < nextfd { _, _, err1 = RawSyscall(SYS_FCNTL, uintptr(pipe), F_DUP2FD_CLOEXEC, uintptr(nextfd)) if err1 != 0 { goto childerror } pipe = nextfd nextfd++ } for i = 0; i < len(fd); i++ { if fd[i] >= 0 && fd[i] < i { if nextfd == pipe { // don't stomp on pipe nextfd++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.4K bytes - Viewed (0) -
src/syscall/exec_libc.go
pipe = nextfd nextfd++ } for i = 0; i < len(fd); i++ { if fd[i] >= 0 && fd[i] < i { if nextfd == pipe { // don't stomp on pipe nextfd++ } switch runtime.GOOS { case "illumos", "solaris": _, err1 = fcntl1(uintptr(fd[i]), _F_DUP2FD_CLOEXEC, uintptr(nextfd)) default: _, err1 = dup2child(uintptr(fd[i]), uintptr(nextfd)) if err1 != 0 { goto childerror }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
src/syscall/exec_bsd.go
if err1 != 0 { goto childerror } _, _, err1 = RawSyscall(SYS_FCNTL, uintptr(nextfd), F_SETFD, FD_CLOEXEC) } if err1 != 0 { goto childerror } pipe = nextfd nextfd++ } for i = 0; i < len(fd); i++ { if fd[i] >= 0 && fd[i] < i { if nextfd == pipe { // don't stomp on pipe nextfd++ } if runtime.GOOS == "netbsd" || (runtime.GOOS == "openbsd" && runtime.GOARCH == "mips64") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationIdFactory.java
public class DefaultBuildOperationIdFactory implements BuildOperationIdFactory { public static final long ROOT_BUILD_OPERATION_ID_VALUE = 1L; private final AtomicLong nextId = new AtomicLong(ROOT_BUILD_OPERATION_ID_VALUE); @Override public long nextId() { return nextId.getAndIncrement(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 14:19:43 UTC 2023 - 1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/id/LongIdGenerator.java
package org.gradle.internal.id; import java.util.concurrent.atomic.AtomicLong; public class LongIdGenerator implements IdGenerator<Long> { private final AtomicLong nextId = new AtomicLong(1); @Override public Long generateId() { return nextId.getAndIncrement(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 910 bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ComponentIdGenerator.java
@ServiceScope(Scope.BuildTree.class) public class ComponentIdGenerator { private final AtomicLong nextId = new AtomicLong(); public long nextComponentId() { return nextId.getAndIncrement(); } public long nextVariantId() { return nextId.getAndIncrement(); } public long nextGraphNodeId() { return nextId.getAndIncrement(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.2K bytes - Viewed (0) -
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)