Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2641 - 2650 of 3,901 for 1final (0.09 seconds)

  1. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

       * populate a map to be passed to {@link Multimaps#forMap(Map)}. All tests should run against the
       * result of {@link #build()}.
       */
      private static final class PopulatableMapAsMultimap<K, V> extends ForwardingMultimap<K, V> {
        final Map<K, V> map;
        final SetMultimap<K, V> unusableDelegate;
    
        static <K, V> PopulatableMapAsMultimap<K, V> create() {
          return new PopulatableMapAsMultimap<>();
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/graph/ImmutableValueGraph.java

                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * {@snippet :
       * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH =
       *     ValueGraphBuilder.undirected()
       *         .<City, Distance>immutable()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

                assertTrue(session.isInUse(), "Session should still be in use after release " + i + " (due to initial acquire)");
            }
    
            // Final release to bring usage count to 0
            session.release();
            assertFalse(session.isInUse(), "Session should not be in use after final release");
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

    import okhttp3.Response;
    
    /**
     * This prints events for a single in-flight call. It won't work for multiple concurrent calls
     * because we don't know what callStartNanos refers to.
     */
    public final class PrintEventsNonConcurrent {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .eventListener(new PrintingEventListener())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

            .named(parentBuilder.getName() + ".entries")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      private static final class EntriesGenerator<K, V>
          extends MultimapTestSuiteBuilder.EntriesGenerator<K, V, SetMultimap<K, V>>
          implements TestSetGenerator<Entry<K, V>> {
    
        EntriesGenerator(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

     * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    abstract class AbstractCompositeHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // array not modified after creation
      final HashFunction[] functions;
    
      AbstractCompositeHashFunction(HashFunction... functions) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

    import java.util.Objects;
    
    /**
     * Static meta-data about a type reference extracted from source.
     */
    public class TypeMetaData implements Serializable, TypeContainer {
        public static final TypeMetaData VOID = new TypeMetaData("void");
        public static final TypeMetaData OBJECT = new TypeMetaData("java.lang.Object");
    
        private String name;
        private int arrayDimensions;
        private boolean varargs;
        private List<TypeMetaData> typeArgs;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

          assertTrue("map should not contain a zero", value.get() != 0);
        }
      }
    
      private static class MutateTask implements Callable<int[]> {
        private final ConcurrentHashMultiset<String> multiset;
        private final ImmutableList<String> keys;
        private final Random random = new Random();
    
        private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) {
          this.multiset = multiset;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 22:42:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java

        /**
         * Creates a new request to lookup SIDs.
         *
         * @param policyHandle the LSA policy handle
         * @param sids the array of SIDs to lookup
         */
        public MsrpcLookupSids(final LsaPolicyHandle policyHandle, final SID[] sids) {
            super(policyHandle, new LsarSidArrayX(sids), new lsarpc.LsarRefDomainList(), new lsarpc.LsarTransNameArray(), (short) 1,
                    sids.length);
            this.sids = sids;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    ```
    interface NestedType {
        Property<String> getSomeProperty()
        void notManaged()
    }
    abstract class DefaultNestedType implements NestedType {
        ...
    }
    
    class Example {
        private final NestedType nested
        Example(ObjectFactory objects) {
           this.nested = objects.newInstance(DefaultNestedType.class)
        }
    
        @Nested
        NestedType getNestedProperty() {
            return nested;
        }
    }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
Back to Top