- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 105 for creation (1.12 sec)
-
src/cmd/cgo/internal/test/setgid2_linux.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Stress test setgid and thread creation. A thread // can get a SIGSETXID signal early on at thread // initialization, causing crash. See issue 53374. package cgotest /* #include <sys/types.h> #include <unistd.h> */ import "C" import ( "runtime" "testing" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 681 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix.go
func SysvShmAttach(id int, addr uintptr, flag int) ([]byte, error) { addr, errno := shmat(id, addr, flag) if errno != nil { return nil, errno } // Retrieve the size of the shared memory to enable slice creation var info SysvShmDesc _, err := SysvShmCtl(id, IPC_STAT, &info) if err != nil { // release the shared memory if we can't find the size // ignoring error from shmdt as there's nothing sensible to return here
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/reproduciblebuilds_test.go
t.Parallel() for _, test := range tests { test := test t.Run(test, func(t *testing.T) { t.Parallel() var want []byte tmp, err := os.CreateTemp("", "") if err != nil { t.Fatalf("temp file creation failed: %v", err) } defer os.Remove(tmp.Name()) defer tmp.Close() for i := 0; i < iters; i++ { // Note: use -c 2 to expose any nondeterminism which is the result // of the runtime scheduler.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/link.go
// directly in the output mmap. // // Relocations are applied prior to emitting generator Symbol contents. // Generator Symbols that require relocations can be written in two passes. // The first pass, at Symbol creation time, adds only relocations. // The second pass, at content generation time, adds the rest. // See generateFunctab for an example. // // Generator functions shouldn't grow the Symbol size.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 19 15:59:22 UTC 2022 - 5.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_predicates.go
// For example, two [Named] types can be identical only if their // [Named.Obj] methods return the same [TypeName] symbol. // A collection of symbols is consistent if, for each logical // package whose path is P, the creation of those symbols // involved at most one call to [NewPackage](P, ...). // To ensure consistency, use a single [Importer] for // all loaded packages and their dependencies.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 16:36:08 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader_test.go
es := ldr.LookupOrCreateSym(fmt.Sprintf("zext%d", idx), 0) if ldr.AttrOnList(es) { t.Errorf("expected OnList after creation") } ldr.SetAttrOnList(es, true) if !ldr.AttrOnList(es) { t.Errorf("expected !OnList after update") } if ldr.AttrDuplicateOK(es) { t.Errorf("expected DupOK after creation") } ldr.SetAttrDuplicateOK(es, true) if !ldr.AttrDuplicateOK(es) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/start_windows.go
} func daemonizeWindows(cmd *exec.Cmd) { // Set DETACHED_PROCESS creation flag so that closing // the console window the parent process was run in // does not kill the child. // See documentation of creation flags in the Microsoft documentation: // https://learn.microsoft.com/en-us/windows/win32/procthread/process-creation-flags cmd.SysProcAttr = &syscall.SysProcAttr{ CreationFlags: windows.DETACHED_PROCESS, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 732 bytes - Viewed (0) -
src/context/context_test.go
} } ctx, _ := WithCancel(Background()) checkChildren("after creation", ctx, 0) _, cancel := WithCancel(ctx) checkChildren("with WithCancel child ", ctx, 1) cancel() checkChildren("after canceling WithCancel child", ctx, 0) ctx, _ = WithCancel(Background()) checkChildren("after creation", ctx, 0) _, cancel = WithTimeout(ctx, 60*time.Minute)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 19:13:01 UTC 2023 - 7.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download_windows.go
// (see x/telemetry/start_windows.go) The console creation behavior when // a parent is a console process without console is not clearly documented // but empirically we observed the new console is created and attached to the // subprocess in the default setup. // // Ensure no new console is attached to the subprocess by setting CREATE_NO_WINDOW. // https://learn.microsoft.com/en-us/windows/console/creation-of-a-console
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download.go
) const ( ModulePath = "golang.org/x/telemetry/config" configFileName = "config.json" ) // needNoConsole is used on windows to set the windows.CREATE_NO_WINDOW // creation flag. var needNoConsole = func(cmd *exec.Cmd) {} // Download fetches the requested telemetry UploadConfig using "go mod // download". If envOverlay is provided, it is appended to the environment used
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 2.4K bytes - Viewed (0)