Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for iovecs (0.2 sec)

  1. src/go/types/generate_test.go

    func newIdent(pos token.Pos, name string) *ast.Ident {
    	id := ast.NewIdent(name)
    	id.NamePos = pos
    	return id
    }
    
    // insert inserts x at list[at] and moves the remaining elements up.
    func insert(list []ast.Expr, at int, x ast.Expr) []ast.Expr {
    	list = append(list, nil)
    	copy(list[at+1:], list[at:])
    	list[at] = x
    	return list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSet.java

       * @throws NullPointerException if any of {@code elements} is null
       * @since 7.0 (source-compatible since 2.0)
       */
      // This the best we could do to get copyOfEnumSet to compile in the mainline.
      // The suppression also covers the cast to E[], discussed below.
      // In the backport, we don't have those cases and thus don't need this suppression.
      // We keep it to minimize diffs.
      @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

        if (index == -1) {
          return false;
        }
    
        moveLastEntry(index, mask);
        size--;
        incrementModCount();
    
        return true;
      }
    
      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex, int mask) {
        Object table = requireTable();
        int[] entries = requireEntries();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

        if (index == -1) {
          return false;
        }
    
        moveLastEntry(index, mask);
        size--;
        incrementModCount();
    
        return true;
      }
    
      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex, int mask) {
        Object table = requireTable();
        int[] entries = requireEntries();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/preemption/preemption.go

    	// Lower priority pods nominated to run on this node, may no longer fit on
    	// this node. So, we should remove their nomination. Removing their
    	// nomination updates these pods and moves them to the active queue. It
    	// lets scheduler find another place for them.
    	nominatedPods := getLowerPriorityNominatedPods(logger, fh, pod, c.Name())
    	if err := util.ClearNominatedNodeName(ctx, cs, nominatedPods...); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_utils.go

    	"k8s.io/klog/v2"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    	"k8s.io/kubernetes/pkg/controller"
    	"k8s.io/kubernetes/pkg/controller/history"
    	"k8s.io/kubernetes/pkg/features"
    )
    
    var patchCodec = scheme.Codecs.LegacyCodec(apps.SchemeGroupVersion)
    
    // overlappingStatefulSets sorts a list of StatefulSets by creation timestamp, using their names as a tie breaker.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  7. src/runtime/netpoll.go

    	}
    	// be careful to not lose concurrent pdReady notification
    	old := gpp.Swap(pdNil)
    	if old > pdWait {
    		throw("runtime: corrupted polldesc")
    	}
    	return old == pdReady
    }
    
    // netpollunblock moves either pd.rg (if mode == 'r') or
    // pd.wg (if mode == 'w') into the pdReady state.
    // This returns any goroutine blocked on pd.{rg,wg}.
    // It adds any adjustment to netpollWaiters to *delta;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	}
    	ci := newCacheInterval(w.startIndex+first, w.endIndex, indexerFunc, w.indexValidator, w.RWMutex.RLocker())
    	return ci, nil
    }
    
    // getIntervalFromStoreLocked returns a watchCacheInterval
    // that covers the entire storage state.
    // This function assumes to be called under the watchCache lock.
    func (w *watchCache) getIntervalFromStoreLocked(key string, matchesSingle bool) (*watchCacheInterval, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. src/encoding/base32/base32_test.go

    	{"su", "ON2Q===="},
    	{"leasure.", "NRSWC43VOJSS4==="},
    	{"easure.", "MVQXG5LSMUXA===="},
    	{"asure.", "MFZXK4TFFY======"},
    	{"sure.", "ON2XEZJO"},
    }
    
    var bigtest = testpair{
    	"Twas brillig, and the slithy toves",
    	"KR3WC4ZAMJZGS3DMNFTSYIDBNZSCA5DIMUQHG3DJORUHSIDUN53GK4Y=",
    }
    
    func testEqual(t *testing.T, msg string, args ...any) bool {
    	t.Helper()
    	if args[len(args)-2] != args[len(args)-1] {
    		t.Errorf(msg, args...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. pkg/volume/util/util.go

    		return nil, fmt.Errorf("failed to read file path %s: %+v", filePath, err)
    	}
    	if len(podDef) == 0 {
    		return nil, fmt.Errorf("file was empty: %s", filePath)
    	}
    	pod := &v1.Pod{}
    
    	codec := legacyscheme.Codecs.UniversalDecoder()
    	if err := apiruntime.DecodeInto(codec, podDef, pod); err != nil {
    		return nil, fmt.Errorf("failed decoding file: %v", err)
    	}
    	return pod, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top