Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for Bind (0.07 sec)

  1. docs_src/sql_databases/sql_app_py39/main.py

    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: Fri Jan 07 14:11:31 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. samples/helloworld/src/Dockerfile

    #
    #   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.
    
    FROM python:3.12.1-slim
    
    WORKDIR /opt/microservices
    COPY app.py ./
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 24 19:35:04 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/runtime/vdso_linux.go

    	}
    
    	apply := func(symIndex uint32, k vdsoSymbolKey) bool {
    		sym := &info.symtab[symIndex]
    		typ := _ELF_ST_TYPE(sym.st_info)
    		bind := _ELF_ST_BIND(sym.st_info)
    		// On ppc64x, VDSO functions are of type _STT_NOTYPE.
    		if typ != _STT_FUNC && typ != _STT_NOTYPE || bind != _STB_GLOBAL && bind != _STB_WEAK || sym.st_shndx == _SHN_UNDEF {
    			return false
    		}
    		if k.name != gostringnocopy(&info.symstrings[sym.st_name]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go

    		return nil
    	}
    	serviceExport := mcsapi.ServiceExport{
    		TypeMeta: metav1.TypeMeta{
    			Kind:       "ServiceExport",
    			APIVersion: mcs.MCSSchemeGroupVersion.String(),
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace: svc.Namespace,
    			Name:      svc.Name,
    
    			// Bind the lifecycle of the ServiceExport to the Service. We do this by making the Service
    			// the "owner" of the ServiceExport resource.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt

    import org.gradle.internal.serialize.graph.writeEnum
    import org.gradle.groovy.scripts.BasicScript
    import org.gradle.internal.metaobject.ConfigureDelegate
    
    
    fun BindingsBuilder.groovyCodecs() {
        bind(ClosureCodec)
        bind(GroovyMetaClassCodec)
    }
    
    
    internal
    object ClosureCodec : Codec<Closure<*>> {
        override suspend fun WriteContext.encode(value: Closure<*>) {
            // Write the owning script for the closure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. tensorflow/cc/training/queue_runner.cc

      counter_.reset(new BlockingCounter(runs_));
      for (const string& enqueue_op : enqueue_op_names_) {
        thread_pool_->Schedule(
            std::bind(&QueueRunner::Run, this, sess, enqueue_op));
      }
      if (coord_) {
        thread_pool_->Schedule(std::bind(&QueueRunner::Stop, this, sess));
      }
      // Wait for up to 'wait_for' milliseconds.
      if (wait_for > 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go

    	DefaultEtcdDataDir = "/var/lib/etcd"
    	// DefaultProxyBindAddressv4 is the default bind address when the advertise address is v4
    	DefaultProxyBindAddressv4 = "0.0.0.0"
    	// DefaultProxyBindAddressv6 is the default bind address when the advertise address is v6
    	DefaultProxyBindAddressv6 = "::"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top