Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 742 for callee (0.09 sec)

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

              private boolean called = false;
    
              @Override
              public void onSuccess(String result) {
                fail("Was not expecting onSuccess() to be called.");
              }
    
              @Override
              public void onFailure(Throwable t) {
                synchronized (monitor) {
                  assertFalse(called);
                  assertThat(t).isInstanceOf(CancellationException.class);
    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. docs_src/path_operation_advanced_configuration/tutorial002.py

        return [{"item_id": "Foo"}]
    
    
    def use_route_names_as_operation_ids(app: FastAPI) -> None:
        """
        Simplify operation IDs so that generated API clients have simpler function
        names.
    
        Should be called only after all routes have been added.
        """
        for route in app.routes:
            if isinstance(route, APIRoute):
                route.operation_id = route.name  # in this case, 'read_items'
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 572 bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtException.java

                            result += "Not listening on called name";
                            break;
                        case NOT_LISTENING_CALLING:
                            result += "Not listening for calling name";
                            break;
                        case CALLED_NOT_PRESENT:
                            result += "Called name not present";
                            break;
                        case NO_RESOURCES:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LineProcessor.java

     *
     * <p>{@link #processLine} will be called for each line that is read, and should return {@code
     * false} when you want to stop processing.
     *
     * @author Miles Barr
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface LineProcessor<T extends @Nullable Object> {
    
      /**
       * This method will be called once for each line.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {!> ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!}
    ```
    
    ////
    
    /// info
    
    In Pydantic version 1 the method to get the JSON Schema for a model was called `Item.schema()`, in Pydantic version 2, the method is called `Item.model_json_schema()`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. tests/hooks_test.go

    	}
    	if beforeUpdateCall != 1 {
    		t.Fatalf("before update should be called")
    	}
    
    	err = DB.Model(Product5{}).Where("id", p.ID).Update("name", "update_name_2").Error
    	if !errors.Is(err, gorm.ErrInvalidValue) {
    		t.Fatalf("should got RecordNotFound, but got %v", err)
    	}
    	if beforeUpdateCall != 1 {
    		t.Fatalf("before update should not be called")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NbtException.java

                    result += "Not listening on called name";
                    break;
                case NOT_LISTENING_CALLING:
                    result += "Not listening for calling name";
                    break;
                case CALLED_NOT_PRESENT:
                    result += "Called name not present";
                    break;
                case NO_RESOURCES:
                    result += "Called name present, but insufficient resources";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  8. docs/en/docs/async.md

    ### Other utility functions
    
    Any other utility function that you call directly can be created with normal `def` or `async def` and FastAPI won't affect the way you call it.
    
    This is in contrast to the functions that FastAPI calls for you: *path operation functions* and dependencies.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .build()
        val call = client.newCall(request1)
        assertFailsWith<SocketTimeoutException> {
          call.execute() // we want this call to throw a SocketTimeoutException
        }
      }
    
      @Test
      fun chainCanCancelCall() {
        val callRef = AtomicReference<Call>()
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            val call = chain.call()
            callRef.set(call)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableList.java

             * requireNonNull is safe because the callers promise to put non-null objects in the first
             * `length` array elements.
             */
            @SuppressWarnings("unchecked") // our callers put only E instances into the array
            E onlyElement = (E) requireNonNull(elements[0]);
            return of(onlyElement);
          default:
            /*
             * The suppression is safe because the callers promise to put non-null objects in the first
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top