Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 210 for ONCE (0.07 sec)

  1. guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().computeIfAbsent(key, mappingFunction);
          }
        }
    
        @Override
        @CheckForNull
        @SuppressWarnings("nullness") // TODO(b/262880368): Remove once we see @NonNull in JDK APIs
        public V computeIfPresent(
            K key, BiFunction<? super K, ? super @NonNull V, ? extends @Nullable V> remappingFunction) {
          synchronized (mutex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            given:
            def conf = conf()
    
            when:
            conf.incoming.artifactView {
                it.componentFilter { true }
                it.componentFilter { true }
            }
    
            then:
            IllegalStateException t = thrown()
            t.message == "The component filter can only be set once before the view was computed"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <p>Cancelling a delegate future propagates to input futures once all the delegates complete,
       * either from cancellation or because an input future has completed. If N futures are passed in,
       * and M delegates are cancelled, the remaining M input futures will be cancelled once N - M of
       * the input futures complete. If all the delegates are cancelled, all the input futures will be
       * too.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  4. src/runtime/mgcpacer.go

    	// collection even when the heap size is small, which is useful for
    	// debugging.
    	heapMinimum uint64
    
    	// runway is the amount of runway in heap bytes allocated by the
    	// application that we want to give the GC once it starts.
    	//
    	// This is computed from consMark during mark termination.
    	runway atomic.Uint64
    
    	// consMark is the estimated per-CPU consMark ratio for the application.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. pkg/controller/disruption/disruption_test.go

    	}
    	if err := waitForCacheCount(dc.podStore, len(podNames)); err != nil {
    		t.Fatalf("Failed to verify pods in informer cache: %v", err)
    	}
    
    	// Sync DisruptionController once to update PDB status.
    	if err := dc.sync(ctx, pdbKey); err != nil {
    		t.Fatalf("Failed initial sync: %v", err)
    	}
    
    	// Evict simulates the visible effects of eviction in our fake client.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/load.go

    	inStd       bool
    	altMods     []module.Version // modules that could have contained the package but did not
    
    	// Populated by (*loader).pkgTest:
    	testOnce sync.Once
    	test     *loadPkg
    
    	// Populated by postprocessing in (*loader).buildStacks:
    	stack *loadPkg // package importing this one in minimal import stack for this pkg
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = Collections.unmodifiableList(Arrays.asList(array));
            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
              return list;
            } else {
              return list.subList(0, count);
            }
          }
        };
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = Collections.unmodifiableList(Arrays.asList(array));
            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
              return list;
            } else {
              return list.subList(0, count);
            }
          }
        };
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

      TF_Operation* add = Add(feed1, feed1, func_graph_, s_);
      Define(-1, {}, {feed1, feed1}, {add}, {}, true);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(
          string("TF_Output feed1:0 appears more than once in the input list"),
          string(TF_Message(s_)));
    }
    
    TEST_F(CApiFunctionTest, DuplicateOutputNamesAreNotAllowed) {
      /*
       *                  |  |  |
       *                  v  v  /
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

                re-used for the rest of the request.
    
                Set `use_cache` to `False` to disable this behavior and ensure the
                dependency is called again (if declared more than once) in the same request.
                """
            ),
        ] = True,
    ) -> Any:
        """
        Declare a FastAPI dependency.
    
        It takes a single "dependable" callable (like a function).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
Back to top