Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for duck (0.16 sec)

  1. src/runtime/pprof/proto.go

    // and returns the location ID encoded in the profile protobuf.
    // It emits to b.pb, so there must be no message encoding in progress.
    // It resets the deck.
    func (b *profileBuilder) emitLocation() uint64 {
    	if len(b.deck.pcs) == 0 {
    		return 0
    	}
    	defer b.deck.reset()
    
    	addr := b.deck.pcs[0]
    	firstFrame := b.deck.frames[0]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

            app.card.writeToProject(file("card"))
            app.shuffle.writeToProject(file("shuffle"))
            app.main.writeToProject(file("app"))
    
            expect:
            succeeds ":app:assemble"
    
            result.assertTasksExecuted([':card', ':deck', ':shuffle'].collect { tasks(it).debug.allToLink }, tasks(':app').debug.allToInstall, ":app:assemble")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding.go

    	}
    
    	return &Dealer{
    		deckSize: deckSize,
    		handSize: handSize,
    	}, nil
    }
    
    // Deal shuffles a card deck and deals a hand of cards, using the given hashValue as the source of entropy.
    // The deck size and hand size are properties of the Dealer.
    // This function synchronously makes sequential calls to pick, one for each dealt card.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 08:38:03 UTC 2019
    - 4K bytes
    - Viewed (0)
  4. plugin/pkg/admission/namespace/exists/admission_test.go

    	namespace := "test"
    	mockClient := newMockClientForTest([]string{})
    	mockClient.AddReactor("get", "namespaces", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, fmt.Errorf("nope, out of luck")
    	})
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    	if err != nil {
    		t.Errorf("unexpected error initializing handler: %v", err)
    	}
    	informerFactory.Start(wait.NeverStop)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy

             'java.version': "bad luck",
             'java.vendor': "Oracle Corporation",
             'os.arch': "amd64",
             'java.vm.name': "OpenJDK 64-Bit Server VM",
             'java.vm.version': "25.40-b25",
             'java.vm.vendor': "Oracle Corporation",
             'java.runtime.name': "Java(TM) SE Runtime Environment",
             'java.runtime.version': "bad luck"
            ]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. pilot/pkg/leaderelection/leaderelection_test.go

    	client.Fake.PrependReactor("update", "*", func(action k8stesting.Action) (bool, runtime.Object, error) {
    		if allowRbac.Load() {
    			return false, nil, nil
    		}
    		return true, nil, fmt.Errorf("nope, out of luck")
    	})
    
    	completions := atomic.NewInt32(0)
    	l, stop := createElection(t, "pod1", "", watcher, true, client, func(stop <-chan struct{}) {
    		completions.Add(1)
    	})
    	// Expect to run once
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. src/database/sql/example_test.go

    	}
    	log.Println(status)
    }
    
    func ExampleDB_Prepare() {
    	projects := []struct {
    		mascot  string
    		release int
    	}{
    		{"tux", 1991},
    		{"duke", 1996},
    		{"gopher", 2009},
    		{"moby dock", 2013},
    	}
    
    	stmt, err := db.Prepare("INSERT INTO projects(id, mascot, release, category) VALUES( ?, ?, ?, ? )")
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 28 14:05:09 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go

    	mockClient := newMockClientForTest(map[string]v1.NamespacePhase{})
    	mockClient.AddReactor("get", "namespaces", func(action core.Action) (bool, runtime.Object, error) {
    		return true, nil, fmt.Errorf("nope, out of luck")
    	})
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    	if err != nil {
    		t.Errorf("unexpected error initializing handler: %v", err)
    	}
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. src/runtime/write_err_android.go

    	if errno < 0 {
    		msg := []byte("runtime: cannot connect to /dev/socket/logdw\x00")
    		write(2, unsafe.Pointer(&msg[0]), int32(len(msg)))
    		// TODO(hakim): or should we just close fd and hope for better luck next time?
    		exit(2)
    	}
    	writeFD = uintptr(fd)
    
    	// Prepopulate invariant part of the header.
    	// The first 11 bytes will be populated later in writeLogdHeader.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

                }
                project(':lib2') {
                    apply plugin: 'cpp-library'
                }
                project(':lib3') {
                    apply plugin: 'cpp-library'
                }
    """
            app.deck.writeToProject(file("lib1"))
            app.card.writeToProject(file("lib2"))
            app.shuffle.writeToProject(file("lib3"))
    
            expect:
            succeeds tasks(':lib1').debug.assemble
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
Back to top