Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,555 for read1 (0.04 sec)

  1. cmd/iam-etcd-store.go

    		err = errNoSuchGroup
    	}
    	return err
    }
    
    func (ies *IAMEtcdStore) watch(ctx context.Context, keyPath string) <-chan iamWatchEvent {
    	ch := make(chan iamWatchEvent)
    
    	// go routine to read events from the etcd watch channel and send them
    	// down `ch`
    	go func() {
    		for {
    		outerLoop:
    			watchCh := ies.client.Watch(ctx,
    				keyPath, etcd.WithPrefix(), etcd.WithKeysOnly())
    
    			for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Под капотом" open("./somefile.txt") создаёт объект называемый "контекстным менеджером".
    
    Когда блок `with` завершается, он обязательно закрывает файл, даже если были исключения.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    			// Safety: Resp is buffered, so this will not block
    			update.Resp <- updateResponse{
    				err:  err,
    				resp: resp,
    			}
    
    		case <-time.After(ztunnelKeepAliveCheckInterval):
    			// do a short read, just to see if the connection to ztunnel is
    			// still alive. As ztunnel shouldn't send anything unless we send
    			// something first, we expect to get an os.ErrDeadlineExceeded error
    			// here if the connection is still alive.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. helm-releases/minio-1.0.2.tgz

    run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000. Follow the below steps to connect to Minio server with mc client: 1. Download the Minio mc...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 24 18:58:05 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

            stack = stack.next;
          }
        }
    
        private static class RunnableExecutorPair {
          final Runnable runnable;
          final Executor executor;
          // Volatile because this is written on one thread and read on another with no synchronization.
          @Nullable volatile RunnableExecutorPair next;
    
          RunnableExecutorPair(@Nullable Runnable runnable, @Nullable Executor executor) {
            this.runnable = runnable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_ExecutorWaitForAllPendingNodes(executor, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteExecutor(executor);
      TF_DeleteStatus(status);
    }
    
    // Read the value of variable `var` and save it into `out_value`.
    void ReadVariable(TFE_Context* ctx, TFE_TensorHandle* var,
                      TFE_TensorHandle** out_value) {
      TF_Status* status = TF_NewStatus();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/bytes/example_test.go

    	fmt.Printf("%s", b.Next(2))
    	// Output:
    	// ab
    	// cd
    	// e
    }
    
    func ExampleBuffer_Read() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	rdbuf := make([]byte, 1)
    	n, err := b.Read(rdbuf)
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(n)
    	fmt.Println(b.String())
    	fmt.Println(string(rdbuf))
    	// Output:
    	// 1
    	// bcde
    	// a
    }
    
    func ExampleBuffer_ReadByte() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. helm-releases/minio-3.1.2.tgz

    run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000. Follow the below steps to connect to Minio server with mc client: 1. Download the Minio mc...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 18 04:26:47 UTC 2021
    - 14.4K bytes
    - Viewed (0)
  9. helm-releases/minio-3.1.4.tgz

    run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000. Follow the below steps to connect to Minio server with mc client: 1. Download the Minio mc...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 20 05:30:22 UTC 2021
    - 14.4K bytes
    - Viewed (0)
  10. helm-releases/minio-3.1.5.tgz

    run the below commands: 1. export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") 2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }} Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/ You can now access Minio server on http://localhost:9000. Follow the below steps to connect to Minio server with mc client: 1. Download the Minio mc...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 22 16:52:01 UTC 2021
    - 14.4K bytes
    - Viewed (0)
Back to top