Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 530 for fries (0.07 sec)

  1. cmd/kubeadm/app/util/initsystem/initsystem_unix.go

    )
    
    // OpenRCInitSystem defines openrc
    type OpenRCInitSystem struct{}
    
    // ServiceStart tries to start a specific service
    func (openrc OpenRCInitSystem) ServiceStart(service string) error {
    	args := []string{service, "start"}
    	return exec.Command("rc-service", args...).Run()
    }
    
    // ServiceStop tries to stop a specific service
    func (openrc OpenRCInitSystem) ServiceStop(service string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 03:15:07 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AlignmentIntegrationTest.groovy

                module('start') group('start') alignsTo('1.0')
                module('foo') alignsTo('1.5') byVirtualPlatform()
                module('bar') tries('1.0') alignsTo('1.5') byVirtualPlatform()
                module('fooBar') tries('1.0') alignsTo('1.5') byVirtualPlatform()
                module('baz') tries('1.0') alignsTo('1.5') byVirtualPlatform()
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 59.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/par/work_test.go

    			w.Add(i - 2)
    		}
    		w.Add(i >> 1)
    		w.Add((i >> 1) ^ 1)
    	})
    	if n != N+1 {
    		t.Fatalf("ran %d items, expected %d", n, N+1)
    	}
    }
    
    func TestWorkParallel(t *testing.T) {
    	for tries := 0; tries < 10; tries++ {
    		var w Work[int]
    		const N = 100
    		for i := 0; i < N; i++ {
    			w.Add(i)
    		}
    		start := time.Now()
    		var n int32
    		w.Do(N, func(x int) {
    			time.Sleep(1 * time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 09:56:24 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_libinit.c

    	int tries;
    	int err;
    	struct timespec ts;
    
    	for (tries = 0; tries < 20; tries++) {
    		err = pthread_create(thread, attr, pfn, arg);
    		if (err == 0) {
    			pthread_detach(*thread);
    			return 0;
    		}
    		if (err != EAGAIN) {
    			return err;
    		}
    		ts.tv_sec = 0;
    		ts.tv_nsec = (tries + 1) * 1000 * 1000; // Milliseconds.
    		nanosleep(&ts, nil);
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/TestMainActionTest.groovy

        private final TestMainAction action = new TestMainAction(detector, processor, resultProcessor, workerLeaseService, timeProvider, "rootTestSuiteId456", "Test Run")
    
        def 'fires start and end events around detector execution'() {
            when:
            action.run()
    
            then:
            1 * timeProvider.getCurrentTime() >> 100L
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/initsystem/initsystem.go

    	// EnableCommand returns a string describing how to enable a service
    	EnableCommand(service string) string
    
    	// ServiceStart tries to start a specific service
    	ServiceStart(service string) error
    
    	// ServiceStop tries to stop a specific service
    	ServiceStop(service string) error
    
    	// ServiceRestart tries to reload the environment and restart the specific service
    	ServiceRestart(service string) error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. test/chanlinear.go

    // take linear time.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    	"time"
    )
    
    // checkLinear asserts that the running time of f(n) is in O(n).
    // tries is the initial number of iterations.
    func checkLinear(typ string, tries int, f func(n int)) {
    	// Depending on the machine and OS, this test might be too fast
    	// to measure with accurate enough granularity. On failure,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. cluster/addons/addon-manager/kube-addons-test.sh

    # shellcheck disable=SC1091
    source "kube-addons.sh"
    
    TEST_NS="kube-addon-manager-test"
    
    function retry() {
      local tries=10
      while [ "${tries}" -gt 0 ]; do
        "$@" && return 0;
        (( tries-- ))
        sleep 1
      done
    }
    
    function setup(){
      retry kubectl create namespace "${TEST_NS}"
    }
    
    function teardown() {
      retry kubectl delete namespace "${TEST_NS}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 25 02:46:18 UTC 2021
    - 9.3K bytes
    - Viewed (0)
  9. pkg/ctrlz/topics/assets/templates/mem.html

        </tr>
    
        <tr>
            <td>Mallocs</td>
            <td id="Mallocs">{{.Mallocs}} objects</td>
            <td>Cumulative count of heap objects allocated.</td>
        </tr>
    
        <tr>
            <td>Frees</td>
            <td id="Frees">{{.Frees}} objects</td>
            <td>Cumulative count of heap objects freed.</td>
        </tr>
    
        <tr>
            <td>Live</td>
            <td id="Live">0 objects</td>
            <td>Count of live heap objects.</td>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. src/runtime/mpagealloc_test.go

    	}
    	tests := map[string]struct {
    		before map[ChunkIdx][]BitRange
    		after  map[ChunkIdx][]BitRange
    		npages uintptr
    		frees  []uintptr
    	}{
    		"Free1": {
    			npages: 1,
    			before: map[ChunkIdx][]BitRange{
    				BaseChunkIdx: {{0, PallocChunkPages}},
    			},
    			frees: []uintptr{
    				PageBase(BaseChunkIdx, 0),
    				PageBase(BaseChunkIdx, 1),
    				PageBase(BaseChunkIdx, 2),
    				PageBase(BaseChunkIdx, 3),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 32.6K bytes
    - Viewed (0)
Back to top