Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 375 for initiatives (0.28 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessTest.groovy

            then:
            1 * initAction.requiresInitialization(lock) >> false
    
            then:
            1 * onOpenAction.accept(lock)
            0 * _
        }
    
        def "acquires lock then initializes cache and runs handler action on open"() {
            def initialLock = Mock(FileLock)
            def exclusiveLock = Mock(FileLock)
            def sharedLock = Mock(FileLock)
    
            when:
            cacheAccess.open()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinLibraryInitIntegrationTest.groovy

            executed(":lib:test")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        @Requires(value = UnitTestPreconditions.KotlinOnlySupportsJdk21Earlier.class)
        def "initializes Kotlin library with JUnit Jupiter test framework"() {
            when:
            run('init', '--type', 'kotlin-library', '--test-framework', 'junit-jupiter', '--java-version', JavaVersion.current().majorVersion)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/cycle_state.go

    	SkipFilterPlugins sets.Set[string]
    	// SkipScorePlugins are plugins that will be skipped in the Score extension point.
    	SkipScorePlugins sets.Set[string]
    }
    
    // NewCycleState initializes a new CycleState and returns its pointer.
    func NewCycleState() *CycleState {
    	return &CycleState{}
    }
    
    // ShouldRecordPluginMetrics returns whether metrics.PluginExecutionDuration metrics should be recorded.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 06:48:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_test.cc

    namespace tf_saved_model {
    namespace {
    
    using ::testing::Eq;
    using ::testing::IsEmpty;
    using ::testing::IsNull;
    using ::testing::NotNull;
    using ::testing::SizeIs;
    
    // Fixture for testing TfSavedModel functionalities. Initializes a
    // `MLIRContext` by loading the `tf_saved_model` dialect.
    class TfSavedModelTest : public ::testing::Test {
     protected:
      TfSavedModelTest() : ctx_() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Service.java

     */
    @DoNotMock("Create an AbstractIdleService")
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface Service {
      /**
       * If the service state is {@link State#NEW}, this initiates service startup and returns
       * immediately. A stopped service may not be restarted.
       *
       * @return this
       * @throws IllegalStateException if the service is not {@link State#NEW}
       * @since 15.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. src/net/nss.go

    	nssConf *nssConf
    }
    
    func getSystemNSS() *nssConf {
    	nssConfig.tryUpdate()
    	nssConfig.mu.Lock()
    	conf := nssConfig.nssConf
    	nssConfig.mu.Unlock()
    	return conf
    }
    
    // init initializes conf and is only called via conf.initOnce.
    func (conf *nsswitchConfig) init() {
    	conf.nssConf = parseNSSConfFile("/etc/nsswitch.conf")
    	conf.lastChecked = time.Now()
    	conf.ch = make(chan struct{}, 1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  7. pkg/proxy/endpointslicecache.go

    // endpointSliceData contains information about a single EndpointSlice update or removal.
    type endpointSliceData struct {
    	endpointSlice *discovery.EndpointSlice
    	remove        bool
    }
    
    // NewEndpointSliceCache initializes an EndpointSliceCache.
    func NewEndpointSliceCache(hostname string, ipFamily v1.IPFamily, recorder events.EventRecorder, makeEndpointInfo makeEndpointFunc) *EndpointSliceCache {
    	if makeEndpointInfo == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (1)
  8. guava/src/com/google/common/util/concurrent/Service.java

     */
    @DoNotMock("Create an AbstractIdleService")
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface Service {
      /**
       * If the service state is {@link State#NEW}, this initiates service startup and returns
       * immediately. A stopped service may not be restarted.
       *
       * @return this
       * @throws IllegalStateException if the service is not {@link State#NEW}
       * @since 15.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. docs/features/caching.md

    Pruning the entire Cache to clear space temporarily can be done using evictAll.
    
    ```kotlin
    cache.evictAll()
    ```
    
    Removing individual items can be done using the urls iterator.
    This would be typical after a user initiates a force refresh by a pull to refresh type action.
    
    ```java
        val urlIterator = cache.urls()
        while (urlIterator.hasNext()) {
          if (urlIterator.next().startsWith("https://www.google.com/")) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. src/container/ring/ring_test.go

    		for j := 0; j < i; j++ {
    			rj := ri.Unlink(j)
    			verify(t, rj, j, -1)
    			verify(t, ri, i-j, -1)
    			ri.Link(rj)
    			verify(t, ri, i, -1)
    		}
    	}
    }
    
    // Test that calling Move() on an empty Ring initializes it.
    func TestMoveEmptyRing(t *testing.T) {
    	var r Ring
    
    	r.Move(1)
    	verify(t, &r, 1, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 3.8K bytes
    - Viewed (0)
Back to top