Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 2,128 for Creates (0.05 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.ConcurrentMapReplaceEntryTester;
    import com.google.common.collect.testing.testers.ConcurrentMapReplaceTester;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a ConcurrentMap
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/TestMultisetGenerator.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates multisets, containing sample elements, to be tested.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public interface TestMultisetGenerator<E extends @Nullable Object>
        extends TestCollectionGenerator<E> {
      @Override
      Multiset<E> create(Object... elements);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

        private final int lineNumber;
    
        private final int columnNumber;
    
        private final String message;
    
        private final Exception exception;
    
        private final Severity severity;
    
        /**
         * Creates a new problem with the specified message and exception.
         * Either {@code message} or {@code exception} is required
         *
         * @param message The message describing the problem, may be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. internal/auth/credentials.go

    	case nil:
    		expAt, err = 0, nil
    	default:
    		expAt, err = 0, ErrInvalidDuration
    	}
    	if expAt < 0 {
    		return 0, ErrInvalidDuration
    	}
    	return expAt, err
    }
    
    // GenerateCredentials - creates randomly generated credentials of maximum
    // allowed length.
    func GenerateCredentials() (accessKey, secretKey string, err error) {
    	accessKey, err = GenerateAccessKey(accessKeyMaxLen, rand.Reader)
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/TempFileCreator.java

        // Android isolates apps' temporary directories since Jelly Bean:
        // https://github.com/google/guava/issues/4011#issuecomment-770020802
        // So we can create files there with any permissions and still get security from the isolation.
        return new JavaIoCreator();
      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestIteratorGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    
    /**
     * Creates iterators to be tested.
     *
     * @param <E> the element type of the iterator.
     * @author George van den Driessche
     */
    @GwtCompatible
    public interface TestIteratorGenerator<E> {
      Iterator<E> get();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 938 bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/MoreObjects.java

        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
        throw new NullPointerException("Both parameters are null");
      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
       *
       * {@snippet :
       * // Returns "ClassName{}"
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

     */
    @Deprecated(since = "4.0.0")
    public class UrlSource implements Source {
    
        private final URL url;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified URL.
         *
         * @param url The file, must not be {@code null}.
         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/util/concurrent/MoreExecutors.java

        executor.setThreadFactory(
            new ThreadFactoryBuilder()
                .setDaemon(true)
                .setThreadFactory(executor.getThreadFactory())
                .build());
      }
    
      /**
       * Creates an executor service that runs each task in the thread that invokes {@code
       * execute/submit}, as in {@link CallerRunsPolicy} This applies both to individually submitted
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.QueueRemoveTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue
     * implementation.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    public final class QueueTestSuiteBuilder<E>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top