Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 6,596 for _return (0.14 sec)

  1. docs/en/docs/tutorial/body-fields.md

    And Pydantic's `Field` returns an instance of `FieldInfo` as well.
    
    `Body` also returns objects of a subclass of `FieldInfo` directly. And there are others you will see later that are subclasses of the `Body` class.
    
    Remember that when you import `Query`, `Path`, and others from `fastapi`, those are actually functions that return special classes.
    
    ///
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. internal/http/server.go

    		l = tls.NewListener(listener, tlsConfig)
    	}
    
    	serve = func() error {
    		return srv.Server.Serve(l)
    	}
    
    	return
    }
    
    // Shutdown - shuts down HTTP server.
    func (srv *Server) Shutdown() error {
    	srv.listenerMutex.Lock()
    	if srv.listener == nil {
    		srv.listenerMutex.Unlock()
    		return http.ErrServerClosed
    	}
    	srv.listenerMutex.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RecordedResponse.kt

      /**
       * Asserts that the current response was redirected and returns the prior response.
       */
      fun priorResponse(): RecordedResponse {
        val priorResponse = response!!.priorResponse!!
        return RecordedResponse(priorResponse.request, priorResponse, null, null, null)
      }
    
      /**
       * Asserts that the current response used the network and returns the network response.
       */
      fun networkResponse(): RecordedResponse {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.h

      void SetTargets(std::initializer_list<TF_Operation*> targets);
    
      void Run(TF_Status* s);
    
      void CloseAndDelete(TF_Status* s);
    
      TF_Tensor* output_tensor(int i) { return output_values_[i]; }
    
      TF_Session* mutable_session() { return session_; }
    
     private:
      void DeleteInputValues();
      void ResetOutputValues();
    
      TF_Session* session_;
      std::vector<TF_Output> inputs_;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           */
          seenExceptionsLocal = requireNonNull(seenExceptions);
        }
        return seenExceptionsLocal;
      }
    
      /** Populates {@code seen} with the exception that was passed to {@code setException}. */
      abstract void addInitialException(Set<Throwable> seen);
    
      final int decrementRemainingAndGet() {
        return ATOMIC_HELPER.decrementAndGetRemainingCount(this);
      }
    
      final void clearSeenExceptions() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

        protected abstract List<Byte> create(Byte[] elements);
    
        @Override
        public Byte[] createArray(int length) {
          return new Byte[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Byte> order(List<Byte> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleBytes extends SampleElements<Byte> {
        public SampleBytes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        protected abstract List<Long> create(Long[] elements);
    
        @Override
        public Long[] createArray(int length) {
          return new Long[length];
        }
    
        /** Returns the original element list, unchanged. */
        @Override
        public List<Long> order(List<Long> insertionOrder) {
          return insertionOrder;
        }
      }
    
      public static class SampleLongs extends SampleElements<Long> {
        public SampleLongs() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. cmd/service.go

    	// the file it points to has been changed we will use the updated symlink.
    	argv0, err := exec.LookPath(os.Args[0])
    	if err != nil {
    		return err
    	}
    
    	// Invokes the execve system call.
    	// Re-uses the same pid. This preserves the pid over multiple server-respawns.
    	return syscall.Exec(argv0, os.Args, os.Environ())
    }
    
    // freezeServices will freeze all incoming S3 API calls.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

        assertEquals(
            "Map.merge(present, value, function) should return function result",
            v4(),
            getMap()
                .merge(
                    k0(),
                    v3(),
                    (oldV, newV) -> {
                      assertEquals(v0(), oldV);
                      assertEquals(v3(), newV);
                      return v4();
                    }));
        expectReplacement(entry(k0(), v4()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server_gen.go

    			return
    		}
    	}
    	// write "Checksum"
    	err = en.Append(0xa8, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Checksum)
    	if err != nil {
    		err = msgp.WrapError(err, "Checksum")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *ServerSystemConfig) MarshalMsg(b []byte) (o []byte, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top