Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for curg (0.27 sec)

  1. src/runtime/coro.go

    	// GoSwitch expects that the current G is running and that we haven't
    	// switched yet for correct status emission.
    	if trace.ok() {
    		trace.GoSwitch(gnext, exit)
    	}
    
    	// Start running next, without heavy scheduling machinery.
    	// Set mp.curg and gnext.m and then update scheduling state
    	// directly if possible.
    	setGNoWB(&mp.curg, gnext)
    	setMNoWB(&gnext.m, mp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. buildscripts/minio-upgrade.sh

    	docker volume prune -f || true
    	docker volume rm $(docker volume ls -q -f dangling=true) || true
    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    	mc admin heal --json -r "$1" >/dev/null # test after healing
    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modget/get.go

    		})
    	}
    
    	for _, curM := range r.buildList {
    		if !q.matchesPath(curM.Path) {
    			continue
    		}
    		q.pathOnce(curM.Path, func() pathSet {
    			if modload.HasModRoot() && curM.Version == "" && modload.MainModules.Contains(curM.Path) {
    				return errSet(&modload.QueryMatchesMainModulesError{MainModules: []module.Version{curM}, Pattern: q.pattern, Query: q.version})
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  4. pilot/test/xds/fake.go

    	// Setup config handlers
    	// TODO code re-use from server.go
    	configHandler := func(_, curr config.Config, event model.Event) {
    		pushReq := &model.PushRequest{
    			Full:           true,
    			ConfigsUpdated: sets.New(model.ConfigKey{Kind: kind.MustFromGVK(curr.GroupVersionKind), Name: curr.Name, Namespace: curr.Namespace}),
    			Reason:         model.NewReasonStats(model.ConfigUpdate),
    		}
    		s.ConfigUpdate(pushReq)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. src/syscall/rlimit.go

    // which Go of course has no choice but to respect.
    func init() {
    	var lim Rlimit
    	if err := Getrlimit(RLIMIT_NOFILE, &lim); err == nil && lim.Cur != lim.Max {
    		origRlimitNofile.Store(&lim)
    		nlim := lim
    		nlim.Cur = nlim.Max
    		adjustFileLimit(&nlim)
    		setrlimit(RLIMIT_NOFILE, &nlim)
    	}
    }
    
    func Setrlimit(resource int, rlim *Rlimit) error {
    	if resource == RLIMIT_NOFILE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/server.go

    		configHandler := func(prev config.Config, curr config.Config, event model.Event) {
    			if s.statusReporter != nil {
    				defer func() {
    					if event != model.EventDelete {
    						s.statusReporter.AddInProgressResource(curr)
    					} else {
    						s.statusReporter.DeleteInProgressResource(curr)
    					}
    				}()
    			}
    			log.Debugf("Handle event %s for configuration %s", event, curr.Key())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. cluster/gce/upgrade.sh

      local release_stable
      local release_latest
      local ci_latest
    
      release_stable=$(curl -sL https://dl.k8s.io/release/stable.txt)
      release_latest=$(curl -sL https://dl.k8s.io/release/latest.txt)
      ci_latest=$(curl -sL https://dl.k8s.io/ci/latest.txt)
    
      echo "Right now, versions are as follows:"
      echo "  release/stable: ${0} ${release_stable}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractFuture.java

        while (true) {
          Waiter pred = null;
          Waiter curr = waiters;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
              pred = curr;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
Back to top