Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 603 for fulu (0.14 sec)

  1. docs_src/security/tutorial003_an_py39.py

    from pydantic import BaseModel
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret2",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_test.c

      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs_src/security/tutorial002_an_py310.py

    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 761 bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/orig/open-search/osdd.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
      <ShortName>Fess</ShortName>
      <Description>Full Text Search for Your Documents.</Description>
      <Tags>Full Text Search</Tags>
      <Contact>******@****.***</Contact>
      <SearchForm>http://localhost:8080/fess/</SearchForm>
      <Url type="text/html" template="http://localhost:8080/fess/search?q={searchTerms}"/>
      <InputEncoding>UTF-8</InputEncoding>
    XML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 10 02:26:02 GMT 2015
    - 535 bytes
    - Viewed (0)
  5. docs_src/response_model/tutorial003_py310.py

    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user: UserIn) -> Any:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 431 bytes
    - Viewed (0)
  6. docs_src/security/tutorial002_an.py

    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 815 bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_tensor_handle.h

      virtual tensorflow::Status Shape(
          tensorflow::PartialTensorShape* shape) const = 0;
    
      // Returns tensor (full) type.
      // While there is no immediate plan to deprecate dtype and shape in favor
      // of only using full type type information, this is a future possibility.
      //
      // Note that map_dtype_to_child_of_tensor() from core/framework/types.h
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. internal/store/batch.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package store
    
    import (
    	"errors"
    	"fmt"
    	"sync"
    )
    
    // ErrBatchFull indicates that the batch is full
    var ErrBatchFull = errors.New("batch is full")
    
    type key interface {
    	string | int | int64
    }
    
    // Batch represents an ordered batch
    type Batch[K key, T any] struct {
    	keys  []K
    	items map[K]T
    	limit uint32
    
    	sync.Mutex
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxerTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     */
    class ThreadOutputMuxerTest {
    
        final String paid = "Paid";
    
        final String in = "In";
    
        final String full = "Full";
    
        @Test
        void testSingleThreaded() throws Exception {
            ProjectBuildList src = getProjectBuildList();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. docs_src/security/tutorial002_py310.py

    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        user = fake_decode_token(token)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 711 bytes
    - Viewed (0)
Back to top