Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for newValues (0.15 sec)

  1. pkg/kube/inject/watcher_test.go

    		valuesKey: valuesConfig,
    	})
    
    	var mu sync.Mutex
    	var newConfig *Config
    	var newValues string
    
    	client := kube.NewFakeClient()
    	w := NewConfigMapWatcher(client, namespace, cmName, configKey, valuesKey)
    	w.SetHandler(func(config *Config, values string) error {
    		mu.Lock()
    		defer mu.Unlock()
    		newConfig = config
    		newValues = values
    		return nil
    	})
    	stop := test.NewStop(t)
    	go w.Run(stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java

        public void replace(Transformer<? extends @org.jetbrains.annotations.Nullable Provider<? extends T>, ? super Provider<T>> transformation) {
            Provider<? extends T> newValue = transformation.transform(shallowCopy());
            if (newValue != null) {
                set(newValue);
            } else {
                set((T) null);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

        }
    
        def "Can override existing system properties"() {
            when:
            runTask { withSystemProperties('mySystemProperty' : 'newValue') }
    
            then:
            hasSystemProperty('mySystemProperty', 'newValue')
        }
    
        def "JVM arguments have precedence over system properties"() {
            when:
            runTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/unique/handle.go

    	// the first one we make around, we can avoid generating
    	// more than one per racing thread.
    	var (
    		toInsert     *T // Keep this around to keep it alive.
    		toInsertWeak weak.Pointer[T]
    	)
    	newValue := func() weak.Pointer[T] {
    		if toInsert == nil {
    			toInsert = new(T)
    			*toInsert = clone(value, &m.cloneSeq)
    			toInsertWeak = weak.Make(toInsert)
    		}
    		return toInsertWeak
    	}
    	var ptr *T
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedModelValue.java

        T update(Function<T, T> updateFunction);
    
        /**
         * Sets the current value.
         *
         * <p>The calling thread must own the mutable state from which the value is calculated.</p>
         */
        void set(T newValue);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt

                    }
                    throw MissingPropertyException(propertyName)
                }
                scriptReferenced()
            }
    
            override fun setProperty(propertyName: String, newValue: Any?) {
                // See above for why this check happens
                if (targetMetadata.hasProperty(null, propertyName) == null) {
                    throw MissingPropertyException(propertyName)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

        }
    
        def rebuildsCacheWhenPropertyIsAdded() {
            given:
            def dir = createCacheDir()
            def properties = properties + [newProp: 'newValue']
            def cache = new DefaultPersistentDirectoryCache(dir, "<display-name>", properties, mode(FileLockManager.LockMode.Shared), initializationAction, cacheCleanup, lockManager, Mock(ExecutorFactory), buildOperationRunner)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top