Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,473 for because (0.1 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeResolver.java

             * don't _want_ our new TypeVariable to be equal to the JDK TypeVariable because it has
             * _different bounds_ than the JDK TypeVariable. And it wouldn't make sense for our new
             * TypeVariable to be equal to any _other_ JDK TypeVariable, either, because any other JDK
             * TypeVariable must have a different declaration or name. The only TypeVariable that our
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/InvalidatableSet.java

      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinaryException() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object."));
            BinaryConversionUtil.toBinary(new Object());
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
        for (E element : elements) {
          // Explicit null check because TreeSet wrongly accepts add(null) when empty.
          set.add(checkNotNull(element));
        }
        return set;
      }
    
      public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    But if you go to, for example:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    The parameter values in your function will be:
    
    * `skip=20`: because you set it in the URL
    * `limit=10`: because that was the default value
    
    ## Optional parameters
    
    The same way, you can declare optional query parameters, by setting their default to `None`:
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LongAdder.java

     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
     * @since 1.8
     * @author Doug Lea
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy

    import org.gradle.api.provider.Provider
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.work.DisableCachingByDefault
    
    @CompileStatic
    @DisableCachingByDefault(because = "Only filters the input artifact")
    abstract class FindGradleJars implements TransformAction<TransformParameters.None> {
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 11 12:20:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

     */
    
    package gradlebuild.buildutils.tasks
    
    import gradlebuild.basics.toLowerCase
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class UpdateContributorsInReleaseNotes : AbstractCheckOrUpdateContributorsInReleaseNotes() {
        @TaskAction
        fun update() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 11:42:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/packaging/common/scripts/prerm

        ;;
        deconfigure|failed-upgrade)
        ;;
    
        # RedHat ####################################################
        0)
            STOP_REQUIRED=true
        ;;
        1)
            # Don't do anything on upgrade, because the preun script in redhat gets executed after the postinst (madness!)
        ;;
    
        *)
            echo "pre remove script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    # Stops the service
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
Back to top