- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for decref (0.1 sec)
-
src/internal/poll/sockopt_windows.go
func (fd *FD) WSAIoctl(iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *syscall.Overlapped, completionRoutine uintptr) error { if err := fd.incref(); err != nil { return err } defer fd.decref() return syscall.WSAIoctl(fd.Sysfd, iocc, inbuf, cbif, outbuf, cbob, cbbr, overlapped, completionRoutine)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 30 19:09:46 UTC 2023 - 586 bytes - Viewed (0) -
src/internal/poll/fd_fsync_darwin.go
// on OS X, SYS_FSYNC doesn't fully flush contents to disk. // See Issue #26650 as well as the man page for fsync on OS X. func (fd *FD) Fsync() error { if err := fd.incref(); err != nil { return err } defer fd.decref() return ignoringEINTR(func() error { _, err := unix.Fcntl(fd.Sysfd, syscall.F_FULLFSYNC, 0) // There are scenarios such as SMB mounts where fcntl will fail
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:20:48 UTC 2024 - 850 bytes - Viewed (0) -
src/internal/poll/fd_wasip1.go
func (fd *FD) Fchdir() error { if err := fd.incref(); err != nil { return err } defer fd.decref() return syscall.Chdir(fd.Path) } // ReadDir wraps syscall.ReadDir. // We treat this like an ordinary system call rather than a call // that tries to fill the buffer. func (fd *FD) ReadDir(buf []byte, cookie syscall.Dircookie) (int, error) { if err := fd.incref(); err != nil { return 0, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:14:02 UTC 2024 - 6.7K bytes - Viewed (0) -
src/internal/poll/fd_poll_runtime.go
var d int64 if !t.IsZero() { d = int64(time.Until(t)) if d == 0 { d = -1 // don't confuse deadline right now with no deadline } } if err := fd.incref(); err != nil { return err } defer fd.decref() if fd.pd.runtimeCtx == 0 { return ErrNoDeadline } runtime_pollSetDeadline(fd.pd.runtimeCtx, d, mode) return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:59 UTC 2024 - 4.2K bytes - Viewed (0) -
src/encoding/gob/decgen.go
slice[i] = uintptr(x)`, }, // uint8 Handled separately. } func main() { log.SetFlags(0) log.SetPrefix("decgen: ") flag.Parse() if flag.NArg() != 0 { log.Fatal("usage: decgen [--output filename]") } var b bytes.Buffer fmt.Fprintf(&b, "// Code generated by go run decgen.go -output %s; DO NOT EDIT.\n", *output) fmt.Fprint(&b, header) printMaps(&b, "Array") fmt.Fprint(&b, "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 14:15:38 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/volume/secret/secret.go
return err } optional := b.source.Optional != nil && *b.source.Optional secret, err := b.getSecret(b.pod.Namespace, b.source.SecretName) if err != nil { if !(errors.IsNotFound(err) && optional) { klog.Errorf("Couldn't get secret %v/%v: %v", b.pod.Namespace, b.source.SecretName, err) return err } secret = &v1.Secret{ ObjectMeta: metav1.ObjectMeta{ Namespace: b.pod.Namespace,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java
return userProperties.get(key); } @Override public Model getRawModel(Path from, Path p) { return Holder.deref(modelByPath.get(p)); } @Override public Model getRawModel(Path from, String groupId, String artifactId) { return Holder.deref(modelByGA.get(new GAKey(groupId, artifactId))); } @Override public Path locate(Path path) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 4K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContext.java
return userProperties.get(key); } @Override public Model getRawModel(Path from, Path p) { return Holder.deref(modelByPath.get(p)); } @Override public Model getRawModel(Path from, String groupId, String artifactId) { return Holder.deref(modelByGA.get(new GAKey(groupId, artifactId))); } @Override public Path locate(Path path) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Nov 07 08:20:52 UTC 2023 - 4.1K bytes - Viewed (0) -
pkg/api/job/warnings.go
var warnings []string if spec.CompletionMode != nil && *spec.CompletionMode == batch.IndexedCompletion { completions := ptr.Deref(spec.Completions, 0) parallelism := ptr.Deref(spec.Parallelism, 0) if completions > completionsSoftLimit && parallelism > parallelismSoftLimitForUnlimitedCompletions {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 11:44:07 UTC 2024 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/delete_test.go
t.Errorf("metadata.DeletionGracePeriodSeconds = %v, want %v", ptr.Deref(tt.args.pod.DeletionGracePeriodSeconds, 0), ptr.Deref(tt.wantDeletionGracePeriodSeconds, 0)) } if !utilpointer.Int64Equal(tt.args.options.GracePeriodSeconds, tt.wantGracePeriodSeconds) { t.Errorf("options.GracePeriodSeconds = %v, want %v", ptr.Deref(tt.args.options.GracePeriodSeconds, 0), ptr.Deref(tt.wantGracePeriodSeconds, 0)) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 11:44:07 UTC 2024 - 9.3K bytes - Viewed (0)