Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,057 for init (0.15 sec)

  1. internal/config/config.go

    )
    
    // DefaultKVS - default kvs for all sub-systems
    var DefaultKVS = map[string]KVS{}
    
    // RegisterDefaultKVS - this function saves input kvsMap
    // globally, this should be called only once preferably
    // during `init()`.
    func RegisterDefaultKVS(kvsMap map[string]KVS) {
    	for subSys, kvs := range kvsMap {
    		DefaultKVS[subSys] = kvs
    	}
    }
    
    // HelpSubSysMap - help for all individual KVS for each sub-systems
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. doc/go_mem.html

    </p>
    
    <h2 id="synchronization">Synchronization</h2>
    
    <h3 id="init">Initialization</h3>
    
    <p>
    Program initialization runs in a single goroutine,
    but that goroutine may create other goroutines,
    which run concurrently.
    </p>
    
    <p class="rule">
    If a package <code>p</code> imports package <code>q</code>, the completion of
    <code>q</code>'s <code>init</code> functions happens before the start of any of <code>p</code>'s.
    </p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			execClientConfig: loggingConfig,
    			args:             strings.Split("clusters httpbin-794b576b6c-qx6pf", " "),
    			expectedString:   `config dump has no configuration type`,
    			wantException:    true,
    		},
    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    			execClientConfig: loggingConfig,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. cmd/handler-api.go

    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV1*2+blockSizeV2*2)))
    		} else {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV2*2)))
    		}
    	} else {
    		apiRequestsMaxPerNode = cfg.RequestsMax
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. cmd/event-notification.go

    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	if err := evnot.targetList.Add(globalNotifyTargetList.Targets()...); err != nil {
    		return err
    	}
    	evnot.targetList = evnot.targetList.Init(runtime.GOMAXPROCS(0)) // TODO: make this configurable (y4m4)
    	return nil
    }
    
    // AddRulesMap - adds rules map for bucket name.
    func (evnot *EventNotifier) AddRulesMap(bucketName string, rulesMap event.RulesMap) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. bin/build_ztunnel.sh

    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
      echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly."
      exit 1
    fi
    
    # Gets the download command supported by the system (currently either curl or wget)
    DOWNLOAD_COMMAND=""
    function set_download_command () {
      # Try curl.
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. internal/grid/handlers.go

    				PutByteBuffer(payload)
    				if err != nil {
    					r := RemoteErr(err.Error())
    					return &r
    				}
    			}
    
    			var inT chan Req
    			if h.InCapacity > 0 {
    				// Don't add extra buffering
    				inT = make(chan Req)
    				go func() {
    					defer xioutil.SafeClose(inT)
    					for {
    						select {
    						case <-ctx.Done():
    							return
    						case v, ok := <-in:
    							if !ok {
    								return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

          object : AbstractList<Protocol?>() {
            override val size: Int = 1
    
            override fun get(index: Int) = Protocol.HTTP_1_1
    
            override fun contains(element: Protocol?): Boolean {
              if (element == null) throw NullPointerException()
              return super.contains(element)
            }
    
            override fun indexOf(element: Protocol?): Int {
              if (element == null) throw NullPointerException()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/templates/daemonset.yaml

                - name: REPAIR_RUN_AS_DAEMON
                  value: "true"
                - name: REPAIR_SIDECAR_ANNOTATION
                  value: "sidecar.istio.io/status"
                - name: REPAIR_INIT_CONTAINER_NAME
                  value: "{{ .Values.cni.repair.initContainerName }}"
                - name: REPAIR_BROKEN_POD_LABEL_KEY
                  value: "{{.Values.cni.repair.brokenPodLabelKey}}"
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. docs/ru/docs/deployment/docker.md

    * Создайте директорию `app` и перейдите в неё.
    * Создайте пустой файл `__init__.py`.
    * Создайте файл `main.py` и заполните его:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
Back to top