Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 870 for construct (0.1 sec)

  1. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        return new LocalLoadingCache<>(builder, loader);
      }
    
      private CacheBuilder<Object, Object> createCacheBuilder() {
        return CacheBuilder.newBuilder().recordStats();
      }
    
      // constructor tests
    
      public void testComputingFunction() {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object from) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                 * repository. In other words, modules where artifactId != moduleDirName will see different effective URLs
                 * depending on how the model was constructed (from filesystem or from repository).
                 */
                if (child.getProjectDirectory() != null) {
                    childName = child.getProjectDirectory().getFileName().toString();
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
       * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those also
       * expose a public Builder constructor that accepts "? super." So maybe we should do *that*
       * instead.
       */
      public static <B> Builder<B> orderedBy(Comparator<B> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

        return new ImmutableClassToInstanceMap<>(map);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <B> Builder<B> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for creating immutable class-to-instance maps. Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    type restoreObjStatus struct {
    	ongoing bool
    	expiry  time.Time
    }
    
    // ongoingRestoreObj constructs restoreObjStatus for an ongoing restore-object.
    func ongoingRestoreObj() restoreObjStatus {
    	return restoreObjStatus{
    		ongoing: true,
    	}
    }
    
    // completedRestoreObj constructs restoreObjStatus for a completed restore-object with given expiry.
    func completedRestoreObj(expiry time.Time) restoreObjStatus {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MD4.java

    
    // Constructors
    //...........................................................................
    
        public MD4 () {
            super("MD4");
            engineReset();
        }
    
        /**
         *    This constructor is here to implement cloneability of this class.
         */
        private MD4 (MD4 md) {
            this();
            context = (int[])md.context.clone();
            buffer = (byte[])md.buffer.clone();
            count = md.count;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/Config.java

            } else if( pkgs.indexOf( "jcifs.smb1" ) == -1 ) {
                pkgs += "|jcifs.smb1";
                System.setProperty( "java.protocol.handler.pkgs", pkgs );
            }
        }
    
        // supress javadoc constructor summary by removing 'protected'
        Config() {}
    
        /**
         * Set the default properties of the static Properties used by <tt>Config</tt>. This permits
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

     * sure that these (potentially overridden) methods are invoked only once, and instance created by those methods are
     * memorized and kept as long as supplier instance is kept open.
     * <p>
     * This class is not thread safe and must be used from one thread only, while the constructed {@link RepositorySystem}
     * is thread safe.
     * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            // workaround to IBM JDK crash "groovy.lang.GroovyRuntimeException: Could not find matching constructor for..."
            new DslDocModel(classDocbookDir, document, classMetaData, extensionMetaData)
        }
    
        def loadPluginsMetaData() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
Back to top