Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 760 for synchronize (0.44 sec)

  1. src/sync/waitgroup.go

    	if race.Enabled {
    		if delta < 0 {
    			// Synchronize decrements with Wait.
    			race.ReleaseMerge(unsafe.Pointer(wg))
    		}
    		race.Disable()
    		defer race.Enable()
    	}
    	state := wg.state.Add(uint64(delta) << 32)
    	v := int32(state >> 32)
    	w := uint32(state)
    	if race.Enabled && delta > 0 && v == int32(delta) {
    		// The first increment must be synchronized with Wait.
    		// Need to model this as a read, because there can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/service/scopes/SettingsScopeServices.java

            CacheConfigurationsInternal cacheConfigurations = objectFactory.newInstance(DefaultCacheConfigurations.class, legacyCacheCleanupEnablement);
            if (gradleInternal.isRootBuild()) {
                cacheConfigurations.synchronize(persistentCacheConfigurations);
                persistentCacheConfigurations.setCleanupHasBeenConfigured(false);
            }
            return cacheConfigurations;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/DefaultSslContextFactory.java

                 * NOTE! The JDK code to create SSLContexts relies on the values of the given system properties.
                 *
                 * To prevent concurrent changes to system properties from interfering with this, we need to synchronize access/modifications
                 * to system properties.  This is best effort since we can't prevent user code from modifying system properties willy-nilly.
                 *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

        // permissions.
        // submit()/join() causes this thread to execute the task instead, so we use a CountDownLatch as
        // a barrier to synchronize.
        // TODO(cpovirk): If some other test already initialized commonPool(), this won't work :(
        // Maybe we should just run this test in its own VM.
        ForkJoinPool.commonPool()
            .execute(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  5. .github/workflows/sigbuild-docker-presubmit.yml

    # limitations under the License.
    # ==============================================================================
    
    name: Build SIG Build containers as presubmits
    
    on:
      pull_request:
        types: [labeled, opened, synchronize, reopened]
        paths:
          - '.github/workflows/sigbuild-docker-presubmit.yml'
          - 'tensorflow/tools/tf_sig_build_dockerfiles/**'
          - '!tensorflow/tools/tf_sig_build_dockerfiles/README.md'
    
    permissions:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 18:43:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/file/FileSystemOperations.java

         */
        WorkResult copy(Action<? super CopySpec> action);
    
        /**
         * Synchronizes the contents of a destination directory with some source directories and files.
         * The given action is used to configure a {@link CopySpec}, which is then used to synchronize the files.
         *
         * @param action action Action to configure the CopySpec.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 08:02:27 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ThisBuildOnlyComponentDetailsSerializer.java

     */
    @ThreadSafe
    public class ThisBuildOnlyComponentDetailsSerializer implements ComponentDetailsSerializer {
        private final Long2ObjectMap<ComponentGraphResolveState> components = Long2ObjectMaps.synchronize(new Long2ObjectOpenHashMap<>());
        private final Serializer<ComponentIdentifier> componentIdSerializer = new ComponentIdentifierSerializer();
        private final Serializer<ModuleVersionIdentifier> moduleVersionIdSerializer;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/transport/Transport.java

            if (ioe != null)
                throw ioe;
        }
        public void run() {
            Thread run_thread = Thread.currentThread();
            Exception ex0 = null;
    
            try {
                /* We cannot synchronize (run_thread) here or the caller's
                 * thread.wait( timeout ) cannot reaquire the lock and
                 * return which would render the timeout effectively useless.
                 */
                doConnect();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  9. .github/workflows/test.yml

    name: Test
    
    on:
      push:
        branches:
          - master
      pull_request:
        types:
          - opened
          - synchronize
      schedule:
        # cron every week on monday
        - cron: "0 0 * * 1"
    
    jobs:
      lint:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 10 00:30:25 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. pkg/kubelet/eviction/memory_threshold_notifier.go

    	"k8s.io/kubernetes/pkg/kubelet/cm"
    	evictionapi "k8s.io/kubernetes/pkg/kubelet/eviction/api"
    )
    
    const (
    	memoryUsageAttribute = "memory.usage_in_bytes"
    	// this prevents constantly updating the memcg notifier if synchronize
    	// is run frequently.
    	notifierRefreshInterval = 10 * time.Second
    )
    
    type memoryThresholdNotifier struct {
    	threshold  evictionapi.Threshold
    	cgroupPath string
    	events     chan struct{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 21 00:36:14 UTC 2021
    - 4.7K bytes
    - Viewed (0)
Back to top