Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 1,468 for removeIf (0.1 sec)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

        assertIteratorIsUnmodifiable(Splitter.on(Pattern.compile(",")).split("a,b").iterator());
      }
    
      private void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
        iterator.next();
        try {
          iterator.remove();
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testSplitterIterableIsLazy_char() {
        assertSplitterIterableIsLazy(COMMA_SPLITTER);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    		// All above limit.
    		// Do not modify
    		return
    	}
    
    	// Remove entries that are above.
    	for i, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			continue
    		}
    		p[i].Available = 0
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        checkEntry(entry2, "custom-baz", "custom-header", 55)
    
        // Once a header field is decoded and added to the reconstructed header
        // list, it cannot be removed from it. Hence, foo is here.
        assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo(headerBlock)
    
        // Simulate receiving a small dynamic table size update, that implies eviction.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/apps/v1/generated.proto

      // `OrderedReady`, where pods are created in increasing order (pod-0, then
      // pod-1, etc) and the controller will wait until each pod is ready before
      // continuing. When scaling down, the pods are removed in the opposite order.
      // The alternative policy is `Parallel` which will create pods in parallel
      // to match the desired scale without waiting, and on scale down will delete
      // all pods at once.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/ClassPath.java

            if (f.isDirectory()) {
              File deref = f.getCanonicalFile();
              if (currentPath.add(deref)) {
                scanDirectory(deref, packagePrefix + name + "/", currentPath, builder);
                currentPath.remove(deref);
              }
            } else {
              String resourceName = packagePrefix + name;
              if (!resourceName.equals(JarFile.MANIFEST_NAME)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     *   private Queue<Uri> toCrawl;
     *   protected void startUp() throws Exception {
     *     toCrawl = readStartingUris();
     *   }
     *
     *   protected void runOneIteration() throws Exception {
     *     Uri uri = toCrawl.remove();
     *     Collection<Uri> newUris = crawl(uri);
     *     visited.add(uri);
     *     for (Uri newUri : newUris) {
     *       if (!visited.contains(newUri)) { toCrawl.add(newUri); }
     *     }
     *   }
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

      tensorflow::SessionOptions sess_options;
      (*sess_options.config.mutable_device_count())["CPU"] = num_cpus;
      status->status =
          tensorflow::DeviceFactory::AddCpuDevices(sess_options, prefix, &devices);
    
      // Remove the device that has the host device name since host device is alreay
      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          MockResponse.Builder()
            .setHeader("Content-Type", "text/event-stream")
            .chunkedBody(
              """
              |event: add
              |data: 73857293
              |
              |event: remove
              |data: 2153
              |
              |event: add
              |data: 113411
              |
              |
              """.trimMargin(),
              8,
            )
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  9. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlinx/coroutines/internal/MainDispatcherLoader;-><clinit>()V
    HSPLkotlinx/coroutines/internal/OpDescriptor;-><init>()V
    HSPLkotlinx/coroutines/internal/Removed;-><init>(Lkotlinx/coroutines/internal/LockFreeLinkedListNode;)V
    HSPLkotlinx/coroutines/internal/ScopeCoroutine;-><init>(Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/Continuation;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  10. helm-releases/minio-4.0.11.tgz

    disable PersistentVolumeClai by: ```bash helm install --set persistence.enabled=false minio/minio ``` > *"An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node. When a Pod is removed from a node for any reason, the data in the emptyDir is deleted forever."* ### Existing PersistentVolumeClai If a Persistent Volume Claim already exists, specify it during installation. 1. Create the PersistentVolume 2. Create the PersistentVolumeClai...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 07 05:41:47 UTC 2022
    - 19.2K bytes
    - Viewed (0)
Back to top