Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for chan (0.18 sec)

  1. cmd/bucket-replication.go

    	mrfMU      sync.Mutex
    	resyncer   *replicationResyncer
    
    	// workers:
    	workers    []chan ReplicationWorkerOperation
    	lrgworkers []chan ReplicationWorkerOperation
    
    	// mrf:
    	mrfWorkerKillCh chan struct{}
    	mrfReplicaCh    chan ReplicationWorkerOperation
    	mrfSaveCh       chan MRFReplicateEntry
    	mrfStopCh       chan struct{}
    	mrfWorkerSize   int
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. cmd/metrics-v2.go

    func (c *minioBucketCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioBucketCollector) Collect(out chan<- prometheus.Metric) {
    	var wg sync.WaitGroup
    	publish := func(in <-chan MetricV2) {
    		defer wg.Done()
    		for metric := range in {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    &lt;-chan &lt;-chan int  // same as &lt;-chan (&lt;-chan int)
    chan (&lt;-chan int)
    </pre>
    
    <p>
    A new, initialized channel
    value can be made using the built-in function
    <a href="#Making_slices_maps_and_channels"><code>make</code></a>,
    which takes the channel type and an optional <i>capacity</i> as arguments:
    </p>
    
    <pre>
    make(chan int, 100)
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	// expected in case of read timeout
    	w.Header().Set("Connection", "close")
    
    	setEventStreamHeaders(w)
    
    	logCh := make(chan log.Info, 1000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    	encodedCh := make(chan []byte, 1000+len(peers)*1000)
    	err = globalConsoleSys.Subscribe(logCh, ctx.Done(), node, limitLines, logKind, nil)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  5. src/cmd/cgo/internal/test/callback.go

    func testBlocking(t *testing.T) {
    	c := make(chan int)
    	go func() {
    		for i := 0; i < 10; i++ {
    			c <- <-c
    		}
    	}()
    	nestedCall(func() {
    		for i := 0; i < 10; i++ {
    			c <- i
    			if j := <-c; j != i {
    				t.Errorf("out of sync %d != %d", j, i)
    			}
    		}
    	})
    }
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                try {
                  chain.proceed(chain.request())
                  throw AssertionError()
                } catch (expected: IOException) {
                  chain.proceed(chain.request())
                }
              },
            )
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    protected char more() throws java.io.IOException, XmlPullParserExcepti; protected void ensurePC(int); protected void joinPC(); protected char requireInput(char, char[]) throws XmlPullParserExcepti, java.io.IOException; protected char requireNextS() throws XmlPullParserExcepti, java.io.IOException; protected char skipS(char) throws XmlPullParserExcepti, java.io.IOException; private static final void setName(char); private static final void setNameStart(char); protected boolean isNameStartChar(char); protected...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  8. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    protected char more() throws java.io.IOException, XmlPullParserExcepti; protected void ensurePC(int); protected void joinPC(); protected char requireInput(char, char[]) throws XmlPullParserExcepti, java.io.IOException; protected char requireNextS() throws XmlPullParserExcepti, java.io.IOException; protected char skipS(char) throws XmlPullParserExcepti, java.io.IOException; private static final void setName(char); private static final void setNameStart(char); protected boolean isNameStartChar(char); protected...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    protected char more() throws java.io.IOException, XmlPullParserExcepti; protected void ensurePC(int); protected void joinPC(); protected char requireInput(char, char[]) throws XmlPullParserExcepti, java.io.IOException; protected char requireNextS() throws XmlPullParserExcepti, java.io.IOException; protected char skipS(char) throws XmlPullParserExcepti, java.io.IOException; private static final void setName(char); private static final void setNameStart(char); protected boolean isNameStartChar(char); protected...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 200.2K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

      if (status->status.ok()) {
        char* buf = new char[new_handle.size() + 1];
        memcpy(buf, new_handle.c_str(), new_handle.size() + 1);
        *handle = buf;
      }
    }
    
    void TF_PRun(TF_DeprecatedSession* s, const char* handle,
                 // Input tensors
                 const char** c_input_names, TF_Tensor** c_inputs, int ninputs,
                 // Output tensors
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top