Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,653 for creator (0.1 sec)

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

      public void testCreateWithNegativeSize() throws Exception {
        assertThrows(IllegalArgumentException.class, () -> EvictingQueue.create(-1));
      }
    
      public void testCreateWithZeroSize() throws Exception {
        EvictingQueue<String> queue = EvictingQueue.create(0);
        assertEquals(0, queue.size());
    
        assertTrue(queue.add("hi"));
        assertEquals(0, queue.size());
    
        assertTrue(queue.offer("hi"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertThrows(
            UnsupportedOperationException.class,
            () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3()))));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllIntoEmpty() {
        Multimap<K, V> target = getSubjectGenerator().create();
        assertEquals(!multimap().isEmpty(), target.putAll(multimap()));
        assertEquals(multimap(), target);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertThrows(
            UnsupportedOperationException.class,
            () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3()))));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllIntoEmpty() {
        Multimap<K, V> target = getSubjectGenerator().create();
        assertEquals(!multimap().isEmpty(), target.putAll(multimap()));
        assertEquals(multimap(), target);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.smb2.create.Smb2CloseRequest;
    import jcifs.internal.smb2.create.Smb2CloseResponse;
    import jcifs.internal.smb2.create.Smb2CreateRequest;
    import jcifs.internal.smb2.create.Smb2CreateResponse;
    import jcifs.internal.smb2.info.Smb2QueryInfoRequest;
    import jcifs.internal.smb2.info.Smb2QueryInfoResponse;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  5. scripts/docs.py

        """
        Generate a new docs translation directory for the language LANG.
        """
        new_path: Path = Path("docs") / lang
        if new_path.exists():
            typer.echo(f"The language was already created: {lang}")
            raise typer.Abort()
        new_path.mkdir()
        new_config_path: Path = Path(new_path) / mkdocs_name
        new_config_path.write_text("INHERIT: ../en/mkdocs.yml\n", encoding="utf-8")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a map. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Chris Povirk
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

      /**
       * Creates an {@code ImmutableMap} backed by a JDK HashMap. Used when probable hash flooding is
       * detected. This implementation may replace the entries in entryArray with its own entry objects
       * (though they will have the same key/value contents), and will take ownership of entryArray.
       */
      static <K, V> ImmutableMap<K, V> create(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/FileNotifyInformation.java

         * operation to return.
         */
        public static final int FILE_NOTIFY_CHANGE_LAST_ACCESS = 0x00000020;
    
        /**
         * Any change to the creation time of files in the watched directory or subtree causes a change notification wait
         * operation to return.
         */
        public static final int FILE_NOTIFY_CHANGE_CREATION = 0x00000040;
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

        
        /* The NbtAddress object used to query this node will be in the list
         * returned by the Node Status. A new NbtAddress object should not be
         * created for it because the original is potentially being actively
         * referenced by other objects. We must populate the existing object's
         * data explicitly (and carefully).
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6K bytes
    - Viewed (0)
  10. docs/distributed/decom-compressed-sse-s3.sh

    ./mc admin policy create myminio/ rw ./docs/distributed/rw.json
    ./mc admin policy create myminio/ lake ./docs/distributed/rw.json
    
    ./mc admin policy attach myminio/ rw --user=minio123
    ./mc admin policy attach myminio/ lake --user=minio12345
    
    ./mc mb -l myminio/versioned
    
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    ## Soft delete (creates delete markers)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top