- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 92 for dup2 (0.04 sec)
-
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenFileModuleTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.4K bytes - Viewed (0) -
src/internal/poll/fd_unix.go
// now on. dupCloexecUnsupported.Store(true) default: return -1, "fcntl", err } } return dupCloseOnExecOld(fd) } // Dup duplicates the file descriptor. func (fd *FD) Dup() (int, string, error) { if err := fd.incref(); err != nil { return -1, "", err } defer fd.decref() return DupCloseOnExec(fd.Sysfd) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 04:09:44 UTC 2024 - 17.9K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/sha3/sha3.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.4K bytes - Viewed (0) -
src/internal/poll/fd_plan9.go
func (fd *FD) RawWrite(f func(uintptr) bool) error { return errors.New("not implemented") } func DupCloseOnExec(fd int) (int, string, error) { nfd, err := syscall.Dup(int(fd), -1) if err != nil { return 0, "dup", err } // Plan9 has no syscall.CloseOnExec but // its forkAndExecInChild closes all fds // not related to the fork+exec. return nfd, "", nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 5.4K bytes - Viewed (0) -
src/net/net_fake.go
ffd.incomingEmpty <- true case syscall.SOCK_DGRAM: ffd.queue = newPacketQueue(defaultBuffer) default: return wrapErr(syscall.EINVAL) } fd.fakeNetFD = ffd if _, dup := sockets.LoadOrStore(ffd.fakeAddr, fd); dup { fd.fakeNetFD = nil return wrapErr(syscall.EADDRINUSE) } return nil } func fakeConnect(ctx context.Context, fd *netFD, laddr, raddr sockaddr) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 19:24:21 UTC 2024 - 26.4K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
// number of net tests that can run concurrently so that the overall number // of network connections won't exceed the limit. _, dup := scriptNetEnabled.LoadOrStore(t, true) if !dup { // Acquire a net token for this test until the test completes. netTestSem <- struct{}{} t.Cleanup(func() { <-netTestSem scriptNetEnabled.Delete(t) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencySubstitutionRulesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 52.8K bytes - Viewed (0) -
src/time/genzabbrs.go
} var sd SupplementalData err = xml.Unmarshal(data, &sd) if err != nil { return nil, err } zs := make([]*zone, 0) for _, z := range sd.Zones { if z.Territory != "001" { // to avoid dups. I don't know why. continue } l, err := time.LoadLocation(z.Type) if err != nil { return nil, err } st, dt := getAbbrs(l) zs = append(zs, &zone{ WinName: z.Other, UnixName: z.Type,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
pilot/pkg/model/telemetry_test.go
t.Fatal(err) } cfg := &wrappers.StringValue{} if err := w.GetConfig().GetConfiguration().UnmarshalTo(cfg); err != nil { t.Fatal(err) } if _, dupe := res[f.GetName()]; dupe { t.Fatalf("duplicate filter found: %v", f.GetName()) } res[f.GetName()] = cfg.GetValue() } } } tcp, ok := got.([]*listener.Filter) if ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 39.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc
void runOnOperation() override { mlir::MLIRContext* ctx = &getContext(); mlir::ModuleOp module_op = getOperation(); mlir::PassManager pm(ctx); pm.addPass(CreateNoOpPass()); EnableIrPrinting(pm, "dump2"); if (failed(pm.run(module_op))) { signalPassFailure(); } } }; std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateParentPass() { return std::make_unique<ParentPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:17:14 UTC 2024 - 6.4K bytes - Viewed (0)