Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 318 for getOld (0.09 sec)

  1. test/sigchld.go

    // license that can be found in the LICENSE file.
    
    // Test that a program can survive SIGCHLD.
    
    package main
    
    import "syscall"
    
    func main() {
    	syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
    	println("survived SIGCHLD")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 381 bytes
    - Viewed (0)
  2. internal/store/batch.go

    		return ErrBatchFull
    	}
    
    	if _, ok := b.items[key]; !ok {
    		b.keys = append(b.keys, key)
    	}
    	b.items[key] = item
    
    	return nil
    }
    
    // GetAll fetches the items and resets the batch
    // Returned items are not referenced by the batch
    func (b *Batch[K, T]) GetAll() (orderedKeys []K, orderedItems []T, err error) {
    	b.Lock()
    	defer b.Unlock()
    
    	orderedKeys = append([]K(nil), b.keys...)
    	for _, key := range orderedKeys {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Oct 07 15:07:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. src/syscall/syscall_openbsd1.go

    //go:build openbsd && mips64
    
    package syscall
    
    //sys	readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
    //sys	getcwd(buf []byte) (n int, err error) = SYS___GETCWD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 534 bytes
    - Viewed (0)
  4. src/syscall/syscall_linux.go

    	return Utimes("/proc/self/fd/"+itoa.Itoa(fd), tv)
    }
    
    const ImplementsGetwd = true
    
    //sys	Getcwd(buf []byte) (n int, err error)
    
    func Getwd() (wd string, err error) {
    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    	// Getcwd returns the number of bytes written to buf, including the NUL.
    	if n < 1 || n > len(buf) || buf[n-1] != 0 {
    		return "", EINVAL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_openbsd_arm.go

    //go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Getgid() (gid int) {
    	r0, _, _ := rawSyscall(abi.FuncPCABI0(libc_getgid_trampoline), 0, 0, 0)
    	gid = int(r0)
    	return
    }
    
    func libc_getgid_trampoline()
    
    //go:cgo_import_dynamic libc_getgid getgid "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    func FuzzFast(f *testing.F) {
    	f.Fuzz(func (*testing.T, []byte) {})
    }
    -- fuzz_count_test.go --
    package fuzz
    
    import (
    	"fmt"
    	"os"
    	"testing"
    )
    
    func FuzzTestCount(f *testing.F) {
    	pid := os.Getpid()
    	n := 0
    	f.Fuzz(func(t *testing.T, _ []byte) {
    		name := fmt.Sprintf("count/%v.%d", pid, n)
    		if err := os.WriteFile(name, nil, 0666); err != nil {
    			t.Fatal(err)
    		}
    		n++
    	})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. pkg/test/framework/components/namespace/namespace.go

    	t.Helper()
    	i, err := New(ctx, nsConfig)
    	if err != nil {
    		t.Fatalf("namespace.NewOrFail: %v", err)
    	}
    	return i
    }
    
    // GetAll returns all namespaces that have exist in the context.
    func GetAll(ctx resource.Context) ([]Instance, error) {
    	var out []Instance
    	if err := ctx.GetResource(&out); err != nil {
    		return nil, err
    	}
    	return out, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 18:12:14 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationDefaultsIntegrationTest.groovy

            succeeds ":check"
        }
    
        def "configuration getAll is deprecated"() {
            given:
            buildFile << """
                configurations {
                    conf {
                        getAll()
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/EmbeddedDaemonRegistry.java

    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle;
    
    /**
     * A daemon registry for daemons running in the same JVM.
     * <p>
     * This implementation is thread safe in that its getAll(), getIdle() and getBusy() methods are expected to be called from “consumer” threads,
     * while the newEntry() method is expected to be called by “producer” threads.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/PropertyValidationAccess.java

                    for (GradleModuleServices services : servicesProviders) {
                        services.registerGlobalServices(registration);
                    }
                }
            });
            ServiceRegistry services = builder.build();
            this.typeSchemes = services.getAll(TypeScheme.class);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top