Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 1,456 for created (0.04 sec)

  1. MutableClassToInstanceMapTest.java

    but here we have to do some serious fudging L48: @Override L49: @SuppressWarnings({"unchecked", "rawtypes"}) L50: public Map<Class, Impl> create(Object... elements) { L51: MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create(); L52: for (Object object : elements) { L53: Entry<Class, Impl> entry = (Entry<Class, Impl>) object; L54: map.putInstance(entry.getKey(),...
    github.com/google/guava/android/guava-tests/tes...
    Thu Feb 22 20:09:59 UTC 2024
      4.8K bytes
  2. README.md

    validate L96:the identity of a server. The converse is also possible. Here we create a server that authenticates L97:a client and a client that authenticates a server. L98: L99:```java L100:// Create the root for client and server to trust. We could also use different roots for each! L101:HeldCertificate rootCertificate = new HeldCertificate.Builder() L102: .certificateAuthority(0) L103: .build(); L104: L105:// Create a server certificate and a server that uses it. L106:HeldCertificate serverCertificate...
    github.com/square/okhttp/okhttp-tls/README.md
    Sun Dec 17 15:34:10 UTC 2023
      9.1K bytes
  3. BsAccessTokenCQ.java

    createdBy, ConditionOptionCall<TermQueryBuilder> opLambda) { L203: TermQueryBuilder builder = regTermQ("createdBy", createdBy); L204: if (opLambda != null) { L205: opLambda.callback(builder); L206: } L207: } L208: L209: public void setCreatedBy_NotEqual(String createdBy) { L210: setCreatedBy_NotTerm(createdBy, null); L211: } L212: L213: public void setCreatedBy_NotTerm(String createdBy) { L214: setCreatedBy_NotTerm(createdBy, null); L215:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      71.8K bytes
  4. Network.java

    {@link Graph} will have L120: * an edge connecting node A to node B if this {@link Network} has an edge connecting A to B. L121: * L122: * <p>If this network {@link #allowsParallelEdges() allows parallel edges}, parallel edges will be L123: * treated as if collapsed into a single edge. For example, the {@link #degree(Object)} of a node L124: * in the {@link Graph} view may be less than the degree of the same node in this {@link Network}. L125: */ L126: Graph<N> asGraph(); L127: L128: //...
    github.com/google/guava/android/guava/src/com/g...
    Thu Oct 10 15:41:27 UTC 2024
      21.1K bytes
  5. WriterUtil.java

    L41: * @param os L42: * ストリーム。{@literal null}であってはいけません L43: * @param encoding L44: * エンコーディング。{@literal null}や空文字列であってはいけません L45: * @return ストリームへ出力する{@link Writer} L46: */ L47: public static Writer create(final OutputStream os, final String encoding) { L48: assertArgumentNotNull("os", os); L49: assertArgumentNotEmpty("encoding", encoding); L50: L51: try { L52: return new OutputStreamWriter(os, encoding); L53: ...
    github.com/codelibs/corelib/src/main/java/org/c...
    Thu Mar 07 01:59:08 UTC 2024
      3.2K bytes
  6. FuturesGetCheckedTest.java

    TwoArgConstructorException { L58: assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class)); L59: } L60: L61: public void testGetCheckedUntimed_interrupted() { L62: SettableFuture<String> future = SettableFuture.create(); L63: Thread.currentThread().interrupt(); L64: try { L65: getChecked(future, TwoArgConstructorException.class); L66: fail(); L67: } catch (TwoArgConstructorException expected) { L68: assertThat(expected).hasCauseThat().i...
    github.com/google/guava/guava-tests/test/com/go...
    Fri Oct 18 22:10:29 UTC 2024
      16.3K bytes
  7. TestIntegerSortedSetGenerator.java

    L22:import java.util.List; L23:import java.util.SortedSet; L24: L25:/** L26: * Create integer sets for testing collections that are sorted by natural ordering. L27: * L28: * @author Chris Povirk L29: * @author Jared Levy L30: */ L31:@GwtCompatible L32:@ElementTypesAreNonnullByDefault L33:public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator { L34: @Override L35: protected abstract SortedSet<Integer> create(Integer[] elements); L36: L37: /** Sorts the elements by their natural...
    github.com/google/guava/android/guava-testlib/s...
    Wed Oct 30 16:15:19 UTC 2024
      1.3K bytes
  8. MultimapsTransformValuesAsMapTest.java

    Map<String, Collection<Integer>> makeEmptyMap() { L39: return Multimaps.transformValues( L40: ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity()) L41: .asMap(); L42: } L43: L44: @Override L45: protected Map<String, Collection<Integer>> makePopulatedMap() { L46: ListMultimap<String, Integer> delegate = ArrayListMultimap.create(); L47: populate(delegate); L48: return Multimaps.transformValues(delegate, Functions.<Integer>identity()).asMap(); L49: } L50:}...
    github.com/google/guava/android/guava-tests/tes...
    Mon Feb 19 20:34:55 UTC 2024
      1.6K bytes
  9. ResponseBody.kt

    L231: L232: /** Returns a new response body that transmits this byte array. */ L233: @JvmStatic L234: @JvmName("create") L235: fun ByteArray.toResponseBody(contentType: MediaType? = null): ResponseBody = commonToResponseBody(contentType) L236: L237: /** Returns a new response body that transmits this byte string. */ L238: @JvmStatic L239: @JvmName("create") L240: fun ByteString.toResponseBody(contentType: MediaType? = null): ResponseBody = commonToResponseBody(contentType)...
    github.com/square/okhttp/okhttp/src/main/kotlin...
    Mon Jan 08 01:13:22 UTC 2024
      10.7K bytes
  10. MultisetIteratorTester.java

    MODIFIABLE, L51: getSubjectGenerator().order(asList(e0(), e1(), e1(), e2())), L52: IteratorTester.KnownOrder.KNOWN_ORDER) { L53: @Override L54: protected Iterator<E> newTargetIterator() { L55: return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator(); L56: } L57: }.test(); L58: } L59: L60: @CollectionFeature.Require(value = SUPPORTS_ITERATOR_REMOVE, absent = KNOWN_ORDER) L61: public void testRemovingIteratorUnknownOrder() { L62: new IteratorTester<E>(...
    github.com/google/guava/guava-testlib/src/com/g...
    Wed Oct 30 16:15:19 UTC 2024
      4.4K bytes
Back to top