Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,460 for Updater (0.16 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonRegistryUpdaterTest.groovy

        final DaemonContext context = Mock()
        final updater = new DaemonRegistryUpdater(registry, context)
    
        def "marks idle"() {
            given:
            updater.onStart(address)
    
            when:
            updater.onCompleteActivity()
    
            then:
            1 * registry.markState(address, Idle)
        }
    
        def "ignores empty cache on marking idle"() {
            given:
            updater.onStart(address)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. ci/official/requirements_updater/README.md

          )
       ```
    
    4) Add the version to `SUPPORTED_VERSIONS` in `updater.sh`, and
       `release_updater.sh`
    
    5) Run the `updater.sh` shell script. \
       If the base requirements file hasn't yet been updated to account for the new
       Python version, which will require different versions for at least some
       dependencies, it will need to be updated now, for the script to run
       successfully.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicDouble.java

          long next = doubleToRawLongBits(nextVal);
          if (updater.compareAndSet(this, current, next)) {
            return currentVal;
          }
        }
      }
    
      /**
       * Atomically updates the current value with the results of applying the given function.
       *
       * @param updateFunction the update function
       * @return the updated value
       * @since 31.1
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. pkg/kubelet/util/cache/object_cache.go

    // 1. use string type key
    // 2. has an updater to get value directly if it is expired
    // 3. then update the cache
    type ObjectCache struct {
    	cache   expirationcache.Store
    	updater func() (interface{}, error)
    }
    
    // objectEntry is an object with string type key.
    type objectEntry struct {
    	key string
    	obj interface{}
    }
    
    // NewObjectCache creates ObjectCache with an updater.
    // updater returns an object to cache.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 25 04:07:36 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileBackedObjectHolder.java

                public void run() {
                    T oldValue = deserialize();
                    result = updateAction.update(oldValue);
                    serialize(result);
                }
            }
    
            Updater updater = new Updater(updateAction);
            fileAccess.updateFile(updater);
            return updater.result;
        }
    
        @Override
        public T maybeUpdate(UpdateAction<T> updateAction) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go

    	objectDefaulter runtime.ObjectDefaulter
    	groupVersion    schema.GroupVersion
    	hubVersion      schema.GroupVersion
    	updater         merge.Updater
    }
    
    var _ Manager = &structuredMergeManager{}
    
    // NewStructuredMergeManager creates a new Manager that merges apply requests
    // and update managed fields for other types of requests.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:55:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy

            }
    
            vfsHasSnapshotsAt(sourceDir)
            !vfsHasSnapshotsAt(targetDir)
            vfsHasSnapshotsAt(notMovedDir)
            0 * _
    
            updater.triggerWatchProbe(watchProbeFor(sourceDir).absolutePath)
            updater.triggerWatchProbe(watchProbeFor(notMovedDir).absolutePath)
    
            when:
            sourceDir.renameTo(targetDir)
            movedPaths << sourceDir
            buildStarted()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/fake.go

    		t.Cleanup(func() {
    			close(stop)
    		})
    	}
    	for _, crd := range opts.CRDs {
    		clienttest.MakeCRD(t, c.client, crd)
    	}
    	opts.Client.RunAndWait(c.stop)
    	var fx *xdsfake.Updater
    	if x, ok := xdsUpdater.(*xdsfake.Updater); ok {
    		fx = x
    	}
    
    	if !opts.SkipRun {
    		go c.Run(c.stop)
    		kubelib.WaitForCacheSync("test", c.stop, c.HasSynced)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. pkg/kubelet/util/cache/object_cache_test.go

    	deleteChan := make(chan string, 1)
    	return &ObjectCache{
    		updater: f,
    		cache:   expirationcache.NewFakeExpirationStore(stringKeyFunc, deleteChan, ttlPolicy, clock),
    	}
    }
    
    func TestAddAndGet(t *testing.T) {
    	testObj := testObject{
    		key: "foo",
    		val: "bar",
    	}
    	objectCache := NewFakeObjectCache(func() (interface{}, error) {
    		return nil, fmt.Errorf("Unexpected Error: updater should never be called in this test")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  10. src/main/resources/fess_indices/fess_config.scheduled_job/scheduled_job.bulk

    {"name":"Score Updater","target":"all","cronExpression":"0 * * * *","scriptType":"groovy","scriptData":"return container.getComponent(\"scoreUpdater\").execute();","jobLogging":false,"crawler":false,"available":true,"sortOrder":10,"createdBy":"system","createdTime":0,"updatedBy":"system","updatedTime":0}
    {"index":{"_index":"fess_config.scheduled_job","_id":"label_updater"}}
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 4.2K bytes
    - Viewed (0)
Back to top