Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,366 for CREATE (0.29 sec)

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

     */
    @GwtCompatible
    @NullMarked
    public class SortedMapGenerators {
      public static class ImmutableSortedMapGenerator extends TestStringSortedMapGenerator {
        @Override
        public SortedMap<String, String> create(Entry<String, String>[] entries) {
          ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

    | RequestBody.create(ByteArray)       | ByteArray.toRequestBody()       |
    | RequestBody.create(ByteString)      | ByteString.toRequestBody()      |
    | RequestBody.create(File)            | File.asRequestBody()            |
    | RequestBody.create(String)          | String.toRequestBody()          |
    | ResponseBody.create(BufferedSource) | BufferedSource.asResponseBody() |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EnumMultiset.java

        implements Serializable {
      public static <E extends Enum<E>> EnumMultiset<E> create(Class<E> type) {
        return new EnumMultiset<>(new EnumMap<E, Count>(type));
      }
    
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create integer sets for collection tests.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> {
      @Override
      public SampleElements<Integer> samples() {
        return new Ints();
      }
    
      @Override
      public Set<Integer> create(Object... elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashMultiset.java

       */
      public static <E extends @Nullable Object> HashMultiset<E> create(
          Iterable<? extends E> elements) {
        HashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements));
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      private HashMultiset() {
        super(new HashMap<E, Count>());
      }
    
      private HashMultiset(int distinctElements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. okhttp-tls/README.md

    the identity of a server. The converse is also possible. Here we create a server that authenticates
    a client and a client that authenticates a server.
    
    ```java
    // Create the root for client and server to trust. We could also use different roots for each!
    HeldCertificate rootCertificate = new HeldCertificate.Builder()
        .certificateAuthority(0)
        .build();
    
    // Create a server certificate and a server that uses it.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

        /**
         * Creates a new group.
         *
         * @param form the create form
         * @return HTML response after creation
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/net/UuidUtilTest.java

     *
     */
    public class UuidUtilTest extends TestCase {
    
        /**
         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
            System.out.println(uuid);
            final String uuid2 = UuidUtil.create();
            System.out.println(uuid2);
            assertFalse(uuid.equals(uuid2));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            // Create a domain info with test data
            lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo();
            domainInfo.name = new rpc.unicode_string();
            domainInfo.name.length = 10;
            domainInfo.name.maximum_length = 20;
            domainInfo.name.buffer = new short[] { 'T', 'e', 's', 't', '1' };
    
            // Create a simple test SID
            domainInfo.sid = new rpc.sid_t();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      private TestCallable firstCallable;
    
      @Override
      public void setUp() throws Exception {
        executor = newCachedThreadPool();
        serializer = ExecutionSequencer.create();
        firstFuture = SettableFuture.create();
        firstCallable = new TestCallable(firstFuture);
      }
    
      @Override
      public void tearDown() throws Exception {
        executor.shutdown();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top