Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for hasExt (0.12 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

              final Iterator<? extends E> itr2 = set2.iterator();
    
              @Override
              @CheckForNull
              protected E computeNext() {
                if (itr1.hasNext()) {
                  return itr1.next();
                }
                while (itr2.hasNext()) {
                  E e = itr2.next();
                  if (!set1.contains(e)) {
                    return e;
                  }
                }
                return endOfData();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        assertTrue(iter.hasNext());
        Entry<String, String> entry = iter.next();
        assertEquals("Hello", entry.getKey());
        assertEquals("World", entry.getValue());
        assertTrue(iter.hasNext());
    
        entry = iter.next();
        assertEquals("first", entry.getKey());
        assertEquals("second", entry.getValue());
        assertTrue(iter.hasNext());
    
        entry = iter.next();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

              return new Iterator<V>() {
                int i;
    
                @Override
                public boolean hasNext() {
                  return (i == 0) && map.containsKey(key);
                }
    
                @Override
                @ParametricNullness
                public V next() {
                  if (!hasNext()) {
                    throw new NoSuchElementException();
                  }
                  i++;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEmpty(Sets.cartesianProduct(set(1), mt));
      }
    
      private static void assertEmpty(Set<? extends List<?>> set) {
        assertTrue(set.isEmpty());
        assertEquals(0, set.size());
        assertFalse(set.iterator().hasNext());
      }
    
      public void testCartesianProduct_binary1x1() {
        assertThat(Sets.cartesianProduct(set(1), set(2))).contains(list(1, 2));
      }
    
      public void testCartesianProduct_binary1x2() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager_test.go

    		),
    	)
    
    	// no healthy devices for resourceName1 and devices corresponding to
    	// resource2 are intentionally omitted to simulate that the resource
    	// hasn't been registered.
    	testManager.healthyDevices[resourceName1] = sets.New[string]()
    	testManager.healthyDevices[resourceName3] = sets.New[string]()
    	// dev5 is no longer in the list of healthy devices
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  6. src/runtime/mheap.go

    	// checkmarks stores the debug.gccheckmark state. It is only
    	// used if debug.gccheckmark > 0.
    	checkmarks *checkmarksMap
    
    	// zeroedBase marks the first byte of the first page in this
    	// arena which hasn't been used yet and is therefore already
    	// zero. zeroedBase is relative to the arena base.
    	// Increases monotonically until it hits heapArenaBytes.
    	//
    	// This field is sufficient to determine if an allocation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  7. src/internal/trace/order.go

    	pid := ProcID(ev.args[0])
    	seq := makeSeq(gen, ev.args[1])
    
    	// Try to advance. We might fail here due to sequencing, because the P hasn't
    	// had a status emitted, or because we already have a P and we're in a syscall,
    	// and we haven't observed that it was stolen from us yet.
    	state, ok := o.pStates[pid]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. pkg/kubelet/pod_workers_test.go

    		Pod:        newNamedPod("6-static", "test1", "pod1", true),
    		UpdateType: kubetypes.SyncPodUpdate,
    	})
    	drainWorkersExcept(podWorkers, "5-static")
    
    	// pod 5 should have termination requested, but hasn't cleaned up
    	pod5 := podWorkers.podSyncStatuses[types.UID("5-static")]
    	if !pod5.IsTerminationRequested() || pod5.IsTerminated() {
    		t.Fatalf("unexpected status for pod 5: %#v", pod5)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  9. src/runtime/map.go

    			it.elem = nil
    			return
    		}
    		if h.growing() && it.B == h.B {
    			// Iterator was started in the middle of a grow, and the grow isn't done yet.
    			// If the bucket we're looking at hasn't been filled in yet (i.e. the old
    			// bucket hasn't been evacuated) then we need to iterate through the old
    			// bucket and only return the ones that will be migrated to this bucket.
    			oldbucket := bucket & it.h.oldbucketmask()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            List<DependencyManagement> importMgmts = null;
    
            List<Dependency> deps = new ArrayList<>(depMgmt.getDependencies());
            for (Iterator<Dependency> it = deps.iterator(); it.hasNext(); ) {
                Dependency dependency = it.next();
    
                if (!("pom".equals(dependency.getType()) && "import".equals(dependency.getScope()))
                        || "bom".equals(dependency.getType())) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
Back to top