Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of about 10,000 for Bind (0.09 sec)

  1. docs_src/sql_databases/sql_app/main.py

    from typing import List
    
    from fastapi import Depends, FastAPI, HTTPException
    from sqlalchemy.orm import Session
    
    from . import crud, models, schemas
    from .database import SessionLocal, engine
    
    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)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun May 17 10:14:14 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingValidationIntegrationTest.groovy

     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/bindm.go

    // license that can be found in the LICENSE file.
    
    //go:build !plan9 && !windows
    
    // Test that callbacks from C to Go in the same C-thread always get the same m.
    // Make sure the extra M bind to the C-thread.
    
    package main
    
    /*
    extern void CheckBindM();
    */
    import "C"
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"sync"
    	"sync/atomic"
    )
    
    var (
    	mutex      = sync.Mutex{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/syscall/syscall_plan9.go

    	if fixwd(path) {
    		defer runtime.UnlockOSThread()
    	}
    	return stat(path, edir)
    }
    
    //sys	bind(name string, old string, flag int) (err error)
    
    func Bind(name string, old string, flag int) (err error) {
    	if fixwd(name, old) {
    		defer runtime.UnlockOSThread()
    	}
    	return bind(name, old, flag)
    }
    
    //sys	mount(fd int, afd int, old string, flag int, aname string) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. docs_src/sql_databases/sql_app_py310/alt_main.py

    from fastapi import Depends, FastAPI, HTTPException, Request, Response
    from sqlalchemy.orm import Session
    
    from . import crud, models, schemas
    from .database import SessionLocal, engine
    
    models.Base.metadata.create_all(bind=engine)
    
    app = FastAPI()
    
    
    @app.middleware("http")
    async def db_session_middleware(request: Request, call_next):
        response = Response("Internal server error", status_code=500)
        try:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. src/syscall/net_js.go

    // license that can be found in the LICENSE file.
    
    //go:build js && wasm
    
    package syscall
    
    func Socket(proto, sotype, unused int) (fd int, err error) {
    	return 0, ENOSYS
    }
    
    func Bind(fd int, sa Sockaddr) error {
    	return ENOSYS
    }
    
    func StopIO(fd int) error {
    	return ENOSYS
    }
    
    func Listen(fd int, backlog int) error {
    	return ENOSYS
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:41 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/kube/testdata/proxyless.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: foo
      labels:
        app: foo
    spec:
      ports:
      - name: grpc
        port: 7070
        targetPort: 7070
      selector:
        app: foo
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: foo-bar
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: foo
          version: bar
      template:
        metadata:
          labels:
            app: foo
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 04:28:06 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. Makefile.overrides.mk

    #
    #    http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    .DEFAULT_GOAL := default
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 28 17:29:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        return delegate!!.isConnected
      }
    
      override fun isClosed(): Boolean {
        return delegate!!.isClosed
      }
    
      @Throws(IOException::class)
      override fun bind(localAddr: SocketAddress) {
        delegate!!.bind(localAddr)
      }
    
      @Throws(IOException::class)
      override fun connect(remoteAddr: SocketAddress) {
        delegate!!.connect(remoteAddr)
      }
    
      @Throws(IOException::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs_src/sql_databases/sql_app_py39/alt_main.py

    from fastapi import Depends, FastAPI, HTTPException, Request, Response
    from sqlalchemy.orm import Session
    
    from . import crud, models, schemas
    from .database import SessionLocal, engine
    
    models.Base.metadata.create_all(bind=engine)
    
    app = FastAPI()
    
    
    @app.middleware("http")
    async def db_session_middleware(request: Request, call_next):
        response = Response("Internal server error", status_code=500)
        try:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top