Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 579 for holder (0.11 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/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy

                    @Model
                    BinariesHolder holder() {
                        return new BinariesHolder()
                    }
    
                    @ComponentBinaries
                    void createBinariesForSampleLibrary(ModelMap<SampleBinary> binaries, SampleLibrary library, BinariesHolder holder) {
                        holder.binaries = binaries
                    }
    
                    @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SigningFixtures.groovy

    class SigningFixtures {
    
        static PgpSignatory getValidSignatory() {
            Holder.VALID_KEYRING.signatory
        }
    
        static PGPPublicKey getValidPublicKey() {
            Holder.VALID_KEYRING.publicKey
        }
    
        static PGPSecretKey getValidSecretKey() {
            Holder.VALID_KEYRING.secretKey
        }
    
        static String getValidPassword() {
            Holder.VALID_KEYRING.password
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. LICENSE

    license from a particular copyright holder is reinstated (a)
    provisionally, unless and until the copyright holder explicitly and
    finally terminates your license, and (b) permanently, if the copyright
    holder fails to notify you of the violation by some reasonable means
    prior to 60 days after the cessation.
    
      Moreover, your license from a particular copyright holder is
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
  10. 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)
Back to top