Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,105 for builder (0.12 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

            i++;
          }
        }
    
        Object readResolve() {
          int n = elements.length;
          Builder<E> builder = new Builder<>(comparator);
          for (int i = 0; i < n; i++) {
            builder.addCopies(elements[i], counts[i]);
          }
          return builder.build();
        }
      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val builder =
          MockResponse.Builder()
            .chunkedBody("abcdefg", 5)
        val fullBody = Buffer()
        builder.body!!.writeTo(fullBody)
        val truncatedBody = Buffer()
        truncatedBody.write(fullBody, 4)
        builder.body(truncatedBody)
        builder.clearHeaders()
        builder.addHeader("Transfer-encoding: chunked")
        builder.socketPolicy(DisconnectAtEnd)
        server.enqueue(builder.build())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  3. clause/returning.go

    func (returning Returning) Name() string {
    	return "RETURNING"
    }
    
    // Build build where clause
    func (returning Returning) Build(builder Builder) {
    	if len(returning.Columns) > 0 {
    		for idx, column := range returning.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(column)
    		}
    	} else {
    		builder.WriteByte('*')
    	}
    }
    
    // MergeClause merge order by clauses
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 27 23:56:55 UTC 2021
    - 681 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       *
       * <p><b>Performance note:</b> The {@link ImmutableLongArray} that is built will very likely
       * occupy more memory than necessary; to trim memory usage, build using {@code
       * builder.build().trimmed()}.
       */
      public static Builder builder() {
        return new Builder(10);
      }
    
      /**
       * A builder for {@link ImmutableLongArray} instances; obtained using {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * <p><b>Performance note:</b> The {@link ImmutableIntArray} that is built will very likely occupy
       * more memory than necessary; to trim memory usage, build using {@code
       * builder.build().trimmed()}.
       */
      public static Builder builder() {
        return new Builder(10);
      }
    
      /**
       * A builder for {@link ImmutableIntArray} instances; obtained using {@link
       * ImmutableIntArray#builder}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/StandardNetwork.java

      /** Constructs a graph with the properties specified in {@code builder}. */
      StandardNetwork(NetworkBuilder<? super N, ? super E> builder) {
        this(
            builder,
            builder.nodeOrder.<N, NetworkConnections<N, E>>createMap(
                builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)),
            builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT)));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/StandardNetwork.java

      /** Constructs a graph with the properties specified in {@code builder}. */
      StandardNetwork(NetworkBuilder<? super N, ? super E> builder) {
        this(
            builder,
            builder.nodeOrder.<N, NetworkConnections<N, E>>createMap(
                builder.expectedNodeCount.or(DEFAULT_NODE_COUNT)),
            builder.edgeOrder.<E, N>createMap(builder.expectedEdgeCount.or(DEFAULT_EDGE_COUNT)));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      public static <E> Builder<E> orderedBy(Comparator<E> comparator) {
        return new Builder<E>(comparator);
      }
    
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<E>(Ordering.natural().reverse());
      }
    
      public static <E extends Comparable<?>> Builder<E> naturalOrder() {
        return new Builder<E>(Ordering.natural());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            .build()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("At least one cipher suite is required")
        }
      }
    
      @Test
      fun cleartextBuilder() {
        val cleartextSpec = ConnectionSpec.Builder(false).build()
        assertThat(cleartextSpec.isTls).isFalse()
      }
    
      @Test
      fun tlsBuilder_explicitCiphers() {
        val tlsSpec =
          ConnectionSpec.Builder(true)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. clause/group_by.go

    	return "GROUP BY"
    }
    
    // Build build group by clause
    func (groupBy GroupBy) Build(builder Builder) {
    	for idx, column := range groupBy.Columns {
    		if idx > 0 {
    			builder.WriteByte(',')
    		}
    
    		builder.WriteQuoted(column)
    	}
    
    	if len(groupBy.Having) > 0 {
    		builder.WriteString(" HAVING ")
    		Where{Exprs: groupBy.Having}.Build(builder)
    	}
    }
    
    // MergeClause merge group by clause
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 30 10:28:09 UTC 2021
    - 1K bytes
    - Viewed (0)
Back to top