Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,521 for given (0.03 seconds)

  1. android/guava/src/com/google/common/cache/RemovalNotification.java

    public final class RemovalNotification<K, V>
        extends SimpleImmutableEntry<@Nullable K, @Nullable V> {
      private final RemovalCause cause;
    
      /**
       * Creates a new {@code RemovalNotification} for the given {@code key}/{@code value} pair, with
       * the given {@code cause} for the removal. The {@code key} and/or {@code value} may be {@code
       * null} if they were already garbage collected.
       *
       * @since 19.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         * {@link org.apache.maven.api.services.BuilderProblem.Severity#WARNING}. This check is logically equivalent
         * to "is there any problem reported?", given warning is the lowest severity.
         */
        default boolean hasWarningProblems() {
            return hasProblemsFor(BuilderProblem.Severity.WARNING);
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

     * and pattern-based checks are performed.
     *
     * <p>If you know that a given string represents a numeric IP address, use {@link InetAddresses} to
     * obtain and manipulate a {@link java.net.InetAddress} instance from it rather than using this
     * class. Similarly, if you know that a given string represents a domain name, use {@link
     * InternetDomainName} rather than this class.
     *
     * @author Craig Berry
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

      }
    
      /** Counts the bytes in the given input stream using skip if possible. */
      private static long countBySkipping(InputStream in) throws IOException {
        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
       * Copies the contents of this byte source to the given {@code OutputStream}. Does not close
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /** Returns the sample elements that this generate populates its container with. */
      SampleElements<E> samples();
    
      /**
       * Creates a new container containing the given elements. TODO: would be nice to figure out how to
       * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an
       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultiset.java

      /**
       * Returns an immutable multiset containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       * @since 6.0 (source-compatible since 2.0)
       */
      public static <E> ImmutableMultiset<E> of(E e1, E e2) {
        return copyFromElements(e1, e2);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in the "grouped iteration order"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

            return result;
          }
        };
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
      static <K, V> ConstantLoader<K, V> constantLoader(@Nullable V constant) {
        return new ConstantLoader<>(constant);
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
      static IncrementingLoader incrementingLoader() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  8. internal/dsync/dsync-server_test.go

    		time.Sleep(time.Duration(d))
    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	if _, reply = l.lockMap[args.Resources[0]]; !reply {
    		l.lockMap[args.Resources[0]] = WriteLock // No locks held on the given name, so claim write lock
    	}
    	reply = !reply // Negate *reply to return true when lock is granted or false otherwise
    	return reply, nil
    }
    
    func (l *lockServer) Unlock(args *LockArgs) (reply bool, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. internal/event/rulesmap.go

    		rulesMapCopy[eventName] = rules.Clone()
    	}
    
    	return rulesMapCopy
    }
    
    // Add - adds given rules map.
    func (rulesMap RulesMap) Add(rulesMap2 RulesMap) {
    	for eventName, rules := range rulesMap2 {
    		rulesMap[eventName] = rules.Union(rulesMap[eventName])
    	}
    }
    
    // Remove - removes given rules map.
    func (rulesMap RulesMap) Remove(rulesMap2 RulesMap) {
    	for eventName, rules := range rulesMap {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          }
          value = (value * radix) + digit;
        }
    
        return value;
      }
    
      /**
       * Returns the unsigned {@code long} value represented by the given string.
       *
       * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix:
       *
       * <ul>
       *   <li>{@code 0x}<i>HexDigits</i>
       *   <li>{@code 0X}<i>HexDigits</i>
       *   <li>{@code #}<i>HexDigits</i>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
Back to Top