Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 709 for failed (0.05 sec)

  1. InvokableTest.java

    InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0]; L492: assertEquals(0, Invokable.from(constructor).getParameters().size()); L493: } L494: L495: private class InnerWithOneParameterConstructor { L496: @SuppressWarnings("unused") // called by reflection L497: public InnerWithOneParameterConstructor(String s) {} L498: } L499: L500: public void testInnerClassWithOneParameterConstructor() { L501: Constructor<?> constructor = L502: InnerWithOneParameterConstructor.class....
    github.com/google/guava/android/guava-tests/tes...
    Thu Oct 17 13:00:28 UTC 2024
      30.7K bytes
  2. InvokableTest.java

    InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0]; L492: assertEquals(0, Invokable.from(constructor).getParameters().size()); L493: } L494: L495: private class InnerWithOneParameterConstructor { L496: @SuppressWarnings("unused") // called by reflection L497: public InnerWithOneParameterConstructor(String s) {} L498: } L499: L500: public void testInnerClassWithOneParameterConstructor() { L501: Constructor<?> constructor = L502: InnerWithOneParameterConstructor.class....
    github.com/google/guava/guava-tests/test/com/go...
    Thu Oct 17 13:00:28 UTC 2024
      30.7K bytes
  3. Headers.kt

    ) = add(name, Date.from(value)) L283: L284: /** L285: * Set a field with the specified date. If the field is not found, it is added. If the field is L286: * found, the existing values are replaced. L287: */ L288: operator fun set( L289: name: String, L290: value: Date, L291: ) = set(name, value.toHttpDateString()) L292: L293: /** L294: * Set a field with the specified instant. If the field is not found, it is added. If the field L295: * is found, the existing...
    github.com/square/okhttp/okhttp/src/main/kotlin...
    Mon Jan 08 01:13:22 UTC 2024
      11.5K bytes
  4. ListenableFutureTaskTest.java

    runLatch.await(); L96: assertEquals(1, listenerLatch.getCount()); L97: assertFalse(task.isDone()); L98: assertFalse(task.isCancelled()); L99: L100: // Finish the task by unblocking the task latch. Then wait for the L101: // listener to be called by blocking on the listener latch. L102: taskLatch.countDown(); L103: assertEquals(25, task.get().intValue()); L104: assertTrue(listenerLatch.await(5, SECONDS)); L105: assertTrue(task.isDone()); L106: assertFalse(task.isCancelled());...
    github.com/google/guava/guava-tests/test/com/go...
    Fri Oct 18 22:10:29 UTC 2024
      4.7K bytes
  5. MapMakerInternalMap.java

    write operations performed by other threads are noticed. For most L1196: * purposes, the "count" field, tracking the number of elements, serves as that volatile L1197: * variable ensuring visibility. This is convenient because this field needs to be read in many L1198: * read operations anyway: L1199: * L1200: * - All (unsynchronized) read operations must first read the "count" field, and should not L1201: * look at table entries if it is 0. L1202: * L1203: * - All (synchronized)...
    github.com/google/guava/android/guava/src/com/g...
    Fri Oct 18 20:24:49 UTC 2024
      90.8K bytes
  6. Network.java

    with {@code node} in L165: * this graph. L166: * L167: * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}. L168: * L169: * <p>If {@code node} is removed from the network after this method is called, the {@code Set} L170: * {@code view} returned by this method will be invalidated, and will throw {@code L171: * IllegalStateException} if it is accessed in any way, with the following exceptions: L172: * L173: * <ul> L174: * <li>{@code...
    github.com/google/guava/guava/src/com/google/co...
    Thu Oct 10 15:41:27 UTC 2024
      22.4K bytes
  7. EsAbstractEntity.java

    propertyName); // synchronize if exists, basically for user's manual call L89: } L90: L91: public void modifiedToSpecified() { L92: if (__modifiedProperties.isEmpty()) { L93: return; // basically no way when called in Framework (because called when SpecifyColumn exists) L94: } L95: __specifiedProperties = newModifiedProperties(); L96: __specifiedProperties.accept(__modifiedProperties); L97: } L98: L99: // ========================================...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      10.9K bytes
  8. ByteSink.java

    provides two kinds of methods: L36: * L37: * <ul> L38: * <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent L39: * instance each time they are called. The caller is responsible for ensuring that the L40: * returned stream is closed. L41: * <li><b>Convenience methods:</b> These are implementations of common operations that are L42: * typically implemented by opening a stream using one of the methods in the first category, L43: * ...
    github.com/google/guava/guava/src/com/google/co...
    Mon Oct 28 16:55:09 UTC 2024
      5K bytes
  9. Callables.java

    1.0 L31: */ L32:@GwtCompatible(emulated = true) L33:@ElementTypesAreNonnullByDefault L34:public final class Callables { L35: private Callables() {} L36: L37: /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */ L38: public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) { L39: return () -> value; L40: } L41: L42: /** L43: * Creates an {@link AsyncCallable} from a {@link Callable}. L44: * L45: * <p>The...
    github.com/google/guava/guava/src/com/google/co...
    Fri May 12 18:32:03 UTC 2023
      4.4K bytes
  10. ListenableFutureTaskTest.java

    runLatch.await(); L96: assertEquals(1, listenerLatch.getCount()); L97: assertFalse(task.isDone()); L98: assertFalse(task.isCancelled()); L99: L100: // Finish the task by unblocking the task latch. Then wait for the L101: // listener to be called by blocking on the listener latch. L102: taskLatch.countDown(); L103: assertEquals(25, task.get().intValue()); L104: assertTrue(listenerLatch.await(5, SECONDS)); L105: assertTrue(task.isDone()); L106: assertFalse(task.isCancelled());...
    github.com/google/guava/android/guava-tests/tes...
    Fri Oct 18 22:10:29 UTC 2024
      4.7K bytes
Back to top