Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,521 for cases (0.02 sec)

  1. common/config/.golangci.yml

    linters-settings:
      errcheck:
        # report about not checking of errors in type assertions: `a := b.(MyStruct)`;
        # default is false: such cases aren't reported by default.
        check-type-assertions: false
        # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
        # default is false: such cases aren't reported by default.
        check-blank: false
      govet:
        disable:
          # report about shadowed variables
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

       * opening the data stream.
       *
       * <p>The default implementation returns {@link Optional#absent}. Some sources, such as a {@code
       * CharSequence}, may return a non-absent value. Note that in such cases, it is <i>possible</i>
       * that this method will return a different number of chars than would be returned by reading all
       * of the chars.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

            You can use [the template](https://github.com/gradle/gradle-issue-reproducer) with a Gradle GitHub action set up to showcase your problem.
            In the rare cases where this is infeasible, we will also accept a detailed set of instructions.
            You can also use [Gradle Project Replicator](https://github.com/android/project-replicator) to reproduce the structure of your project.
        validations:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 09 14:48:49 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    				}
    			}
    			// Since there are cases for which ListObjects fails, this is
    			// necessary. Test passes as expected, but the output values
    			// are verified for correctness here.
    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/MapIteratorCache.java

     * recommended that the caller does not persist a reference to the backing map (unless the backing
     * map is immutable).
     *
     * <p>This class is tailored toward use cases in common.graph. It is *NOT* a general purpose map.
     *
     * @author James Sexton
     */
    @ElementTypesAreNonnullByDefault
    class MapIteratorCache<K, V> {
      private final Map<K, V> backingMap;
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
     * wrapping a checked exception, prefer {@code ExecutionException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/middleware.md

    ```
    
    `app.add_middleware()` receives a middleware class as the first argument and any additional arguments to be passed to the middleware.
    
    ## Integrated middlewares
    
    **FastAPI** includes several middlewares for common use cases, we'll see next how to use them.
    
    /// note | "Technical Details"
    
    For the next examples, you could also use `from starlette.middleware.something import SomethingMiddleware`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * those sublists might implement a private {@code MySubList} type but serialize as a plain {@code
       * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@code
       * MySubList}, this is safe. For these cases, for which {@code reserializeAndAssert} is too
       * strict, use {@link #reserialize}.
       *
       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        SettableFuture<String> f = SettableFuture.create();
        MockCallback callback = new MockCallback("foo");
        Futures.addCallback(f, callback, ex);
        f.set("foo");
        assertEquals(1, ex.runCount);
      }
    
      // Error cases
      public void testSameThreadExecutionException() {
        SettableFuture<String> f = SettableFuture.create();
        Exception e = new IllegalArgumentException("foo not found");
        MockCallback callback = new MockCallback(e);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/TestUtil.java

        assertThat(networkA.nodeOrder()).isEqualTo(networkB.nodeOrder());
        assertThat(networkA.edgeOrder()).isEqualTo(networkB.edgeOrder());
    
        assertThat(networkA).isEqualTo(networkB);
      }
    
      /**
       * In some cases our graph implementations return custom sets that define their own size() and
       * contains(). Verify that these sets are consistent with the elements of their iterator.
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top