- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for get64b (0.36 sec)
-
src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go
m.ID = uint64(i + 1) } } var cpuInts = []func([]byte) (uint64, []byte){ get32l, get32b, get64l, get64b, } func get32l(b []byte) (uint64, []byte) { if len(b) < 4 { return 0, nil } return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24, b[4:] } func get32b(b []byte) (uint64, []byte) { if len(b) < 4 { return 0, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 32.8K bytes - Viewed (0) -
docs_src/sql_databases/sql_app_py39/main.py
models.Base.metadata.create_all(bind=engine) app = FastAPI() # Dependency def get_db(): db = SessionLocal() try: yield db finally: db.close() @app.post("/users/", response_model=schemas.User) def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)): db_user = crud.get_user_by_email(db, email=user.email) if db_user:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 1.6K bytes - Viewed (0) -
docs_src/sql_databases/sql_app_py310/alt_main.py
finally: request.state.db.close() return response # Dependency def get_db(request: Request): return request.state.db @app.post("/users/", response_model=schemas.User) def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)): db_user = crud.get_user_by_email(db, email=user.email) if db_user:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 1.9K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/main.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 2.2K bytes - Viewed (0) -
docs_src/sql_databases/sql_app/main.py
models.Base.metadata.create_all(bind=engine) app = FastAPI() # Dependency def get_db(): db = SessionLocal() try: yield db finally: db.close() @app.post("/users/", response_model=schemas.User) def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)): db_user = crud.get_user_by_email(db, email=user.email) if db_user:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun May 17 10:14:14 UTC 2020 - 1.6K bytes - Viewed (0) -
docs_src/sql_databases/sql_app_py39/alt_main.py
finally: request.state.db.close() return response # Dependency def get_db(request: Request): return request.state.db @app.post("/users/", response_model=schemas.User) def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)): db_user = crud.get_user_by_email(db, email=user.email) if db_user:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 1.9K bytes - Viewed (0) -
docs_src/sql_databases/sql_app_py310/tests/test_sql_app.py
from fastapi.testclient import TestClient from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from ..database import Base from ..main import app, get_db SQLALCHEMY_DATABASE_URL = "sqlite:///./test.db" engine = create_engine( SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False} ) TestingSessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 1.2K bytes - Viewed (0) -
docs_src/sql_databases/sql_app_py310/main.py
models.Base.metadata.create_all(bind=engine) app = FastAPI() # Dependency def get_db(): db = SessionLocal() try: yield db finally: db.close() @app.post("/users/", response_model=schemas.User) def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)): db_user = crud.get_user_by_email(db, email=user.email) if db_user:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 1.6K bytes - Viewed (0) -
docs_src/sql_databases/sql_app/alt_main.py
finally: request.state.db.close() return response # Dependency def get_db(request: Request): return request.state.db @app.post("/users/", response_model=schemas.User) def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)): db_user = crud.get_user_by_email(db, email=user.email) if db_user:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 1.9K bytes - Viewed (0) -
src/time/tzdata/tzdata.go
idx := len(z) - ztailsize n := get2s(z[idx+10:]) idx = get4s(z[idx+16:]) for i := 0; i < n; i++ { // See time.loadTzinfoFromZip for zip entry layout. if get4s(z[idx:]) != zcheader { break } meth := get2s(z[idx+10:]) size := get4s(z[idx+24:]) namelen := get2s(z[idx+28:]) xlen := get2s(z[idx+30:]) fclen := get2s(z[idx+32:]) off := get4s(z[idx+42:]) zname := z[idx+46 : idx+46+namelen]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 22:30:53 UTC 2023 - 3K bytes - Viewed (0)