Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,434 for created (0.05 sec)

  1. RequestBody.kt

    charset, this will use UTF-8. L107: */ L108: @JvmStatic L109: @JvmName("create") L110: fun String.toRequestBody(contentType: MediaType? = null): RequestBody { L111: val (charset, finalContentType) = contentType.chooseCharset() L112: val bytes = toByteArray(charset) L113: return bytes.toRequestBody(finalContentType, 0, bytes.size) L114: } L115: L116: @JvmStatic L117: @JvmName("create") L118: fun ByteString.toRequestBody(contentType: MediaType? = null): RequestBody...
    github.com/square/okhttp/okhttp/src/main/kotlin...
    Thu Jan 25 14:41:37 UTC 2024
      9.6K bytes
  2. DerivedGoogleCollectionGenerators.java

    this.generator = oneSizeTestContainerGenerator; L55: } L56: L57: @Override L58: public SampleElements<Entry<K, V>> samples() { L59: return generator.samples(); L60: } L61: L62: @Override L63: public Map<K, V> create(Object... elements) { L64: return generator.create(elements); L65: } L66: L67: @Override L68: public Entry<K, V>[] createArray(int length) { L69: return generator.createArray(length); L70: } L71: L72: @Override L73: public Iterable<Entry<K, V>> order(List<Entry<K,...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      6.8K bytes
  3. CompactLinkedHashMap.java

    V> { L61: // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement L62: L63: /** Creates an empty {@code CompactLinkedHashMap} instance. */ L64: public static <K extends @Nullable Object, V extends @Nullable Object> L65: CompactLinkedHashMap<K, V> create() { L66: return new CompactLinkedHashMap<>(); L67: } L68: L69: /** L70: * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it L71: * <i>should</i> hold {@code...
    github.com/google/guava/guava/src/com/google/co...
    Mon Apr 01 16:15:01 UTC 2024
      10.2K bytes
  4. MultisetEqualsTester.java

    new EqualsTester() L37: .addEqualityGroup( L38: getMultiset(), getSubjectGenerator().create(getSampleElements().toArray())) L39: .testEquals(); L40: } L41: L42: @CollectionSize.Require(absent = ZERO) L43: public void testNotEqualsEmpty() { L44: new EqualsTester() L45: .addEqualityGroup(getMultiset()) L46: .addEqualityGroup(getSubjectGenerator().create()) L47: .testEquals(); L48: } L49: L50: public void testHashCodeMatchesEntrySet() { L51: a...
    github.com/google/guava/android/guava-testlib/s...
    Wed Jul 24 20:12:35 UTC 2024
      2.3K bytes
  5. EsAbstractConditionQuery.java

    ====================== L368: @Override L369: public ColumnRealName toColumnRealName(String columnDbName) { L370: return ColumnRealName.create(xgetAliasName(), toColumnSqlName(columnDbName)); L371: } L372: L373: @Override L374: public ColumnRealName toColumnRealName(ColumnInfo columnInfo) { L375: return ColumnRealName.create(xgetAliasName(), columnInfo.getColumnSqlName()); L376: } L377: L378: @Override L379: public ColumnSqlName toColumnSqlName(String columnDbName)...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      21.1K bytes
  6. EnumsTest.java

    ear(shadowLoaderReference); L89: } L90: L91: // Create a second ClassLoader and use it to get a second version of the TestEnum class. L92: // Run Enums.getIfPresent on that other TestEnum and then return a WeakReference containing the L93: // new ClassLoader. If Enums.getIfPresent does caching that prevents the shadow TestEnum L94: // (and therefore its ClassLoader) from being unloaded, then this WeakReference will never be L95: // cleared. L96: @J2ktIncompatible L97: @GwtIncompatible //...
    github.com/google/guava/guava-tests/test/com/go...
    Wed May 29 16:29:37 UTC 2024
      8.7K bytes
  7. LinkedListMultimap.java

    L167: * that are not the first to be added or last to be removed for their key. L168: */ L169: private transient int modCount; L170: L171: /** Creates a new, empty {@code LinkedListMultimap} with the default initial capacity. */ L172: public static <K extends @Nullable Object, V extends @Nullable Object> L173: LinkedListMultimap<K, V> create() { L174: return new LinkedListMultimap<>(); L175: } L176: L177: /** L178: * Constructs an empty {@code LinkedListMultimap} with enough capacity...
    github.com/google/guava/guava/src/com/google/co...
    Fri Oct 13 14:11:58 UTC 2023
      27.5K bytes
  8. WebSocket.kt

    release resources held by this web socket, discarding any enqueued L111: * messages. This does nothing if the web socket has already been closed or canceled. L112: */ L113: fun cancel() L114: L115: fun interface Factory { L116: /** L117: * Creates a new web socket and immediately returns it. Creating a web socket initiates an L118: * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be L119: * notified. The caller must either close or cancel the...
    github.com/square/okhttp/okhttp/src/main/kotlin...
    Mon Jan 08 01:13:22 UTC 2024
      5.3K bytes
  9. Http2Reader.kt

    length: Int, L461: ) L462: L463: /** L464: * Create or update incoming headers, creating the corresponding streams if necessary. Frames L465: * that trigger this are HEADERS and PUSH_PROMISE. L466: * L467: * @param inFinished true if the sender will not send further frames. L468: * @param streamId the stream owning these headers. L469: * @param associatedStreamId the stream that triggered the sender to create this stream. L470: */ L471: fun headers( L472: ...
    github.com/square/okhttp/okhttp/src/main/kotlin...
    Mon Jan 08 01:13:22 UTC 2024
      19.9K bytes
  10. Closer.java

    L79: * @since 14.0 L80: */ L81:// Coffee's for {@link Closer closers} only. L82:@J2ktIncompatible L83:@GwtIncompatible L84:@ElementTypesAreNonnullByDefault L85:public final class Closer implements Closeable { L86: /** Creates a new {@link Closer}. */ L87: public static Closer create() { L88: return new Closer(SUPPRESSING_SUPPRESSOR); L89: } L90: L91: @VisibleForTesting final Suppressor suppressor; L92: L93: // only need space for 2 elements in most cases, so try to use the smallest array possible...
    github.com/google/guava/android/guava/src/com/g...
    Tue May 07 15:26:58 UTC 2024
      10.4K bytes
Back to top