Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,213 for Given (0.35 seconds)

  1. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += UnsignedLongs.remainder(longs[j], divisors[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

     */
    @Deprecated(since = "4.0.0")
    public interface PathTranslator {
    
        /**
         * Resolves the specified path against the given base directory. The resolved path will be absolute and uses the
         * platform-specific file separator if a base directory is given. Otherwise, the input path will be returned
         * unaltered.
         *
         * @param path The path to resolve, may be {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

        }
    
        def "can clean existing API changes"() {
            given:
            jsonFile << existingAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
        def "can clean non-existing API changes"() {
            given:
            jsonFile << nonExistentAcceptedApiChanges()
    
            when:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      }
    
      /** Returns a PublicSuffixType of the right type according to the given code */
      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
        throw new IllegalArgumentException("No enum corresponding to given code: " + code);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

        private samr.SamrSamArray mockSamArray;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeFieldsCorrectly() {
            // Given
            int acctFlags = 123;
    
            // When
            MsrpcEnumerateAliasesInDomain msrpc = new MsrpcEnumerateAliasesInDomain(mockDomainHandle, acctFlags, mockSamArray);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

         */
        @Nonnull
        Optional<String> option();
    
        /**
         * Returns the option followed by a string representation of the given path elements.
         * The path elements are separated by an option-specific or platform-specific separator.
         * If the given {@code paths} argument contains no element, then this method returns an empty string.
         *
         * <h4>Examples</h4>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jan 07 12:02:00 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractListMultimap.java

        return wrapList(key, (List<V>) collection, null);
      }
    
      // Following Javadoc copied from ListMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
       * this method returns a {@link List}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. internal/bucket/lifecycle/evaluator.go

    )
    
    // Evaluator - evaluates lifecycle policy on objects for the given lifecycle
    // configuration, lock retention configuration and replication configuration.
    type Evaluator struct {
    	policy        Lifecycle
    	lockRetention *objlock.Retention
    	replCfg       *replication.Config
    }
    
    // NewEvaluator - creates a new evaluator with the given lifecycle
    func NewEvaluator(policy Lifecycle) *Evaluator {
    	return &Evaluator{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Strings.java

      /**
       * Returns the given string if it is non-null; the empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is non-null; {@code ""} if it is null
       */
      public static String nullToEmpty(@Nullable String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
       * Returns the given string if it is nonempty; {@code null} otherwise.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

         * Locates the POM file within the specified project directory. In case the given project directory does not exist
         * or does not contain a POM file, the return value indicates the expected path to the POM file. Subdirectories of
         * the project directory will not be considered when locating the POM file. The return value will be an absolute
         * path if the project directory is given as an absolute path.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top