Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,089 for given (0.02 sec)

  1. android/guava/src/com/google/common/io/Files.java

       * character set.
       *
       * @since 14.0
       */
      public static CharSource asCharSource(File file, Charset charset) {
        return asByteSource(file).asCharSource(charset);
      }
    
      /**
       * Returns a new {@link CharSink} for writing character data to the given file using the given
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      /** Returns an iterable whose iterator returns the given elements in order. */
      public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) {
        // Make sure to get an unmodifiable iterator
        return new MinimalIterable<>(asList(elements).iterator());
      }
    
      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        return new ImmutableLongArray(new long[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1) {
        return new ImmutableLongArray(new long[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1, long e2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

        return new ImmutableIntArray(new int[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray of(int e0, int e1) {
        return new ImmutableIntArray(new int[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray of(int e0, int e1, int e2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/DfsResolver.java

         * @param tf the CIFS context
         * @param domain the domain name to check
         * @return whether the given domain is trusted
         * @throws CIFSException if the operation fails
         */
        boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException;
    
        /**
         * Get a connection to the domain controller for a given domain
         *
         * @param tf the CIFS context
         * @param domain the domain name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. cmd/bitrot.go

    		logger.CriticalIf(GlobalContext, errors.New("Unsupported bitrot algorithm"))
    		return nil
    	}
    }
    
    // Available reports whether the given algorithm is available.
    func (a BitrotAlgorithm) Available() bool {
    	_, ok := bitrotAlgorithms[a]
    	return ok
    }
    
    // String returns the string identifier for a given bitrot algorithm.
    // If the algorithm is not supported String panics.
    func (a BitrotAlgorithm) String() string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * returns a {@link SortedSet}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
        return (SortedSet<V>) super.get(key);
      }
    
      /**
       * Removes all values associated with a given key. The returned collection is immutable.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DosFileFilterTest.java

                "1, 0, false", // No file attributes
                "0, 0, false" // No attributes on either
        })
        void testAccept(int filterAttributes, int fileAttributes, boolean expectedResult) throws SmbException {
            // Given a DosFileFilter with specific attributes
            dosFileFilter = new DosFileFilter("*.*", filterAttributes);
    
            // and a mock SmbFile with specific attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

         *
         * @param str
         *            the string (can be <code>null</code>)
         * @return the given string, or an empty string if the argument is <code>null</code>
         */
        public static String defaultString(final String str) {
            return str == null ? EMPTY : str;
        }
    
        /**
         * Returns the given string, or the specified default string if the argument is <code>null</code>.
         * <p>
         * Usage example:
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractSetMultimap.java

       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top