Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,165 for REMOVE (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          monitor.enter();
          try {
            transitioned = true;
            if (!ready) {
              return;
            }
            // Update state.
            checkState(
                servicesByState.remove(from, service),
                "Service %s not at the expected location in the state map %s",
                service,
                from);
            checkState(
                servicesByState.put(to, service),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ServiceManager.java

          monitor.enter();
          try {
            transitioned = true;
            if (!ready) {
              return;
            }
            // Update state.
            checkState(
                servicesByState.remove(from, service),
                "Service %s not at the expected location in the state map %s",
                service,
                from);
            checkState(
                servicesByState.put(to, service),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. cmd/metacache-entries_test.go

    	if !reflect.DeepEqual(want, got) {
    		t.Errorf("got unexpected result: %#v", got)
    	}
    }
    
    func Test_metaCacheEntries_filterRecursiveRootSep(t *testing.T) {
    	data := loadMetacacheSampleEntries(t)
    	// This will remove anything with "bzip2/" in the path since it is separator
    	data.filterRecursiveEntries("", "bzip2/")
    	got := data.entries().names()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          // LIFO order.
          for (int i = acquiredLockList.size() - 1; i >= 0; i--) {
            if (acquiredLockList.get(i) == node) {
              acquiredLockList.remove(i);
              break;
            }
          }
        }
      }
    
      final class CycleDetectingReentrantLock extends ReentrantLock implements CycleDetectingLock {
    
        private final LockGraphNode lockGraphNode;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean remove(@CheckForNull Object key, @CheckForNull Object value) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Returns {@code true} if this immutable multimap's implementation contains references to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(t);
      EXPECT_TRUE(deallocator_called);
    }
    
    TEST(CAPI, LibraryLoadFunctions) {
      // TODO(b/73318067): Fix linking for the GPU test generated by the
      // tf_cuda_cc_test() bazel rule and remove the next line.
      if (!GPUDeviceName().empty()) return;
    
    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      {
        // Load the library.
        TF_Status* status = TF_NewStatus();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top