Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,509 for case1 (0.08 sec)

  1. 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)
  2. internal/hash/reader_test.go

    			size:       4,
    			actualSize: 4,
    			md5hex:     "e2fc714c4727ee9395f324cd2e7f331f",
    			err:        ioutil.ErrOverread,
    		},
    	}
    	for i, testCase := range testCases {
    		t.Run(fmt.Sprintf("case-%d", i+1), func(t *testing.T) {
    			r, err := NewReader(context.Background(), testCase.src, testCase.size, testCase.md5hex, testCase.sha256hex, testCase.actualSize)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
       * that it can be GWTified?
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    final class LenientSerializableTester {
      /*
       * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
       * that it can be GWTified?
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      //  - Some providers may choose to also include alias names.
      //  - For example, the "SHA-1" algorithm might be referred to as "SHA1".
      //  - The algorithm name is not case-sensitive.
      private static final ImmutableMap<String, HashFunction> ALGORITHMS =
          new ImmutableMap.Builder<String, HashFunction>()
              .put("MD5", Hashing.md5())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/tflite-other.md

        required: true
    
    -   type: textarea id: code-to-reproduce attributes: label: Standalone code to
        reproduce the issue description: Provide a reproducible test case that is
        the bare minimum necessary to generate the problem. If possible, please
        share a link to Colab/Jupyter/any notebook. placeholder: Tell us what you
        see! value: render: shell validations: required: true
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Dec 29 22:28:29 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. architecture/standards/0001-use-architectural-decision-records.md

    * To provide best practices and solutions we (as the *build tool* team) want to promote.
    * To avoid asking the same thing multiple times during code review.
    * To explain *rejected solutions*, for now, and future development, in case they are proposed again.
    
    ADRs can be written by any team.
    Like code, they should be reviewed by any other relevant teams.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Mar 02 21:54:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/openapi-webhooks.md

    # OpenAPI Webhooks
    
    There are cases where you want to tell your API **users** that your app could call *their* app (sending a request) with some data, normally to **notify** of some type of **event**.
    
    This means that instead of the normal process of your users sending requests to your API, it's **your API** (or your app) that could **send requests to their system** (to their API, their app).
    
    This is normally called a **webhook**.
    
    ## Webhooks steps
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:38:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        // Check that this thread has been marked as interrupted again now that the thread has been
        // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose
        // JUnit or some other test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
      public void testInterrupt_doesNotInterruptSubsequentTask() throws Exception {
        // Run a task that interrupts its thread (i.e. this thread).
        e.execute(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. .teamcity/mvnw

      fi
    
      if [ -f "$HOME/.mavenrc" ] ; then
        . "$HOME/.mavenrc"
      fi
    
    fi
    
    # OS specific support.  $var _must_ be set to either true or false.
    cygwin=false;
    darwin=false;
    mingw=false
    case "`uname`" in
      CYGWIN*) cygwin=true ;;
      MINGW*) mingw=true;;
      Darwin*) darwin=true
        # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
Back to top