Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 198 for cook (0.09 sec)

  1. src/net/hook.go

    Andy Pan <******@****.***> 1699977411 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 934 bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/ts_test.go

    	t := 0
    	for i := 0; i < n; i++ {
    		for j := 0; j < i; j++ {
    			t += i ^ j
    		}
    	}
    	return t
    }
    
    // Tests runtime/coverage.snapshot() directly. Note that if
    // coverage is not enabled, the hook is designed to just return
    // zero.
    func TestCoverageSnapshot(t *testing.T) {
    	C1 := Snapshot()
    	thisFunctionOnlyCalledFromSnapshotTest(15)
    	C2 := Snapshot()
    	cond := "C1 > C2"
    	val := C1 > C2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/README.md

    standard version of this diagram, the top two boxes are squished together into "local
    process" which (a) fails to make a few important distinctions, and (b) makes it look like
    a single packet can go `input` -> "local process" -> `output`, which it cannot. Note also
    that the `ingress` and `egress` hooks are special and mostly not available to us;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 21 14:37:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/link/doc.go

    		or initialized to a constant string expression. -X will not work if the initializer makes
    		a function call or refers to other variables.
    		Note that before Go 1.5 this option took two separate arguments.
    	-asan
    		Link with C/C++ address sanitizer support.
    	-aslr
    		Enable ASLR for buildmode=c-shared on windows (default true).
    	-bindnow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_performance.adoc

    If you want to look at the measurement for the Gradle build itself you can have a look at the blog post https://blog.gradle.org/introducing-gradle-build-cache["Introducing the build cache"].
    
    == Measuring developer builds
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/hooks.go

    		return err
    	}
    	s.postStartHooks[name] = postStartHookEntry{hook: hook, originatingStack: string(debug.Stack()), done: done}
    
    	return nil
    }
    
    // AddPostStartHookOrDie allows you to add a PostStartHook, but dies on failure
    func (s *GenericAPIServer) AddPostStartHookOrDie(name string, hook PostStartHookFunc) {
    	if err := s.AddPostStartHook(name, hook); err != nil {
    		klog.Fatalf("Error registering PostStartHook %q: %v", name, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/interfaces.go

    */
    
    package generic
    
    import (
    	"context"
    
    	"k8s.io/apiserver/pkg/admission"
    )
    
    // Hook represents a dynamic admission hook. The hook may be a webhook or a
    // policy. For webhook, the Hook may describe how to contact the endpoint, expected
    // cert, etc. For policies, the hook may describe a compiled policy-binding pair.
    type Hook interface {
    	// All hooks are expected to contain zero or more match conditions, object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/runtime/testdata/testexithooks/testexithooks.go

    	f3 := func() { println("blek") }
    	f4 := func() { println("blub") }
    	f5 := func() { println("blat") }
    	exithook.Add(exithook.Hook{F: f1})
    	exithook.Add(exithook.Hook{F: f2, RunOnFailure: true})
    	exithook.Add(exithook.Hook{F: f3})
    	exithook.Add(exithook.Hook{F: f4, RunOnFailure: true})
    	exithook.Add(exithook.Hook{F: f5})
    	os.Exit(1)
    }
    
    func testPanics() {
    	f1 := func() { println("ok") }
    	f2 := func() { panic("BADBADBAD") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/os/writeto_linux_test.go

    		t.Fatalf("wrong source file descriptor: got %d, want %d", hook.srcfd, src.Fd())
    	}
    	sc, ok := dst.(syscall.Conn)
    	if !ok {
    		t.Fatalf("destination is not a syscall.Conn")
    	}
    	rc, err := sc.SyscallConn()
    	if err != nil {
    		t.Fatalf("destination SyscallConn error: %v", err)
    	}
    	if err = rc.Control(func(fd uintptr) {
    		if hook.called && hook.dstfd != int(fd) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. samples/bookinfo/src/details/details.rb

        json = JSON.parse(response.body)
        book = json['items'][0]['volumeInfo']
    
        language = book['language'] === 'en'? 'English' : 'unknown'
        type = book['printType'] === 'BOOK'? 'paperback' : 'unknown'
        isbn10 = get_isbn(book, 'ISBN_10')
        isbn13 = get_isbn(book, 'ISBN_13')
    
        return {
            'id' => id,
            'author': book['authors'][0],
            'year': book['publishedDate'],
            'type' => type,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top