Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 317 for holder (0.23 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java

            LocalComponentGraphResolveState state = holder.tryCached(componentIdentifier);
            if (state == null) {
                state = createComponentState(module, componentIdentifier);
                holder.cache(state, shouldCacheResolutionState());
            }
            return state;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandler.java

     * <ul>
     *     <li>One Lock Holder</li>
     *     <li>One or more Lock Requester</li>
     * </ul>
     * The general strategy is that the Lock Holder keeps locks open as long as there is no Lock Requester. This is,
     * because each lock open/close action requires File I/O which is expensive.
     * <p>
     * The Lock Owner will inform this contention handler that it holds the lock via {@link #start(long, Consumer)}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

                    }
                }
    
                tasks.register("lock", FileLocker)
            """
        }
    
        def cleanup() {
            socketReceiverThread?.terminate = true
        }
    
        def "the lock holder is not hammered with ping requests for the shared lock"() {
            given:
            setupLockOwner()
            def pingRequestCount = 0
            //do not handle requests: this simulates the situation were pings do not arrive
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Streams.java

              try {
                // The cast is safe because tryAdvance puts a T into `holder`.
                action.accept(function.apply(uncheckedCastNullableTToT(holder), index++));
                return true;
              } finally {
                holder = null;
              }
            }
            return false;
          }
    
          @Override
          Splitr createSplit(Spliterator<T> from, long i) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                          holder.count++;
                          return null;
                        }
                      },
                      directExecutor());
            }
          }
          settableFuture.set(null);
          completeLengthChecks = allAsList(lengthChecks).get();
        } finally {
          service.shutdown();
        }
        assertThat(holder.count).isEqualTo(ITERATION_COUNT);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                          holder.count++;
                          return null;
                        }
                      },
                      directExecutor());
            }
          }
          settableFuture.set(null);
          completeLengthChecks = allAsList(lengthChecks).get();
        } finally {
          service.shutdown();
        }
        assertThat(holder.count).isEqualTo(ITERATION_COUNT);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CollectSpliterators.java

          @CheckForNull T holder = null;
    
          @Override
          public void accept(@ParametricNullness T t) {
            this.holder = t;
          }
    
          @Override
          public boolean tryAdvance(Consumer<? super T> action) {
            while (fromSpliterator.tryAdvance(this)) {
              try {
                // The cast is safe because tryAdvance puts a T into `holder`.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            final SmbAuthenticationHolder holder = new SmbAuthenticationHolder();
            final SmbAuthentication[] smbAuthentications =
                    getInitParameter(SMB_AUTHENTICATIONS_PROPERTY, new SmbAuthentication[0], SmbAuthentication[].class);
            if (smbAuthentications != null) {
                for (final SmbAuthentication smbAuthentication : smbAuthentications) {
                    holder.add(smbAuthentication);
                }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 23 01:54:10 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        checkNotNull(updaterFunction);
        AtomicLong holder = new AtomicLong();
        map.compute(
            key,
            (k, value) -> {
              long oldValue = (value == null) ? 0L : value.longValue();
              holder.set(oldValue);
              return updaterFunction.applyAsLong(oldValue);
            });
        return holder.get();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            final SmbAuthenticationHolder holder = new SmbAuthenticationHolder();
            final SmbAuthentication[] smbAuthentications =
                    getInitParameter(SMB_AUTHENTICATIONS_PROPERTY, new SmbAuthentication[0], SmbAuthentication[].class);
            if (smbAuthentications != null) {
                for (final SmbAuthentication smbAuthentication : smbAuthentications) {
                    holder.add(smbAuthentication);
                }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top