Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for close1 (0.35 sec)

  1. pkg/controller/garbagecollector/garbagecollector_test.go

    	//    wait.Until() loops with `period` until the `stopCh` is closed :
    	//        wait.PollImmediateUntil() loops with 100ms (hardcode) util the `stopCh` is closed:
    	//            GetDeletableResources()
    	//            gc.resyncMonitors()
    	//            cache.WaitForNamedCacheSync() loops with `syncedPollPeriod` (hardcoded to 100ms), until either its stop channel is closed after `period`, or all caches synced.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    func metricsBucketHandler() http.Handler {
    	return metricsHTTPHandler(bucketCollector, "handler.MetricsBucket")
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  3. src/reflect/value.go

    	}
    	panic(&ValueError{"reflect.Value.Cap", v.kind()})
    }
    
    // Close closes the channel v.
    // It panics if v's Kind is not [Chan] or
    // v is a receive-only channel.
    func (v Value) Close() {
    	v.mustBe(Chan)
    	v.mustBeExported()
    	tt := (*chanType)(unsafe.Pointer(v.typ()))
    	if ChanDir(tt.Dir)&SendDir == 0 {
    		panic("reflect: close of receive-only channel")
    	}
    
    	chanclose(v.pointer())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

            return ans;
        }
        void close( int f, long lastWriteTime ) throws SmbException {
    
            if( log.level >= 3 )
                log.println( "close: " + f );
    
            /*
             * Close Request / Response
             */
    
            send( new SmbComClose( f, lastWriteTime ), blank_resp() );
        }
        void close( long lastWriteTime ) throws SmbException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    		}
    
    		// closed Chan send.
    		if x.Maybe() {
    			ch := make(chan int)
    			close(ch)
    			cases = append(cases, SelectCase{
    				Dir:  SelectSend,
    				Chan: ValueOf(ch),
    				Send: ValueOf(101),
    			})
    			info = append(info, caseInfo{desc: "closed Chan send", canSelect: true, panic: true})
    		}
    
    		// closed Chan recv.
    		if x.Maybe() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

            .method(requestMethod, requestBodyOrNull(requestMethod))
            .build()
        val response1 = client.newCall(request).execute()
        response1.body.close()
        assertThat(response1.header("X-Response-ID")).isEqualTo("1")
        val response2 = get(url)
        response2.body.close()
        if (expectCached) {
          assertThat(response2.header("X-Response-ID")).isEqualTo("1")
        } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    A <code>nil</code> channel is never ready for communication.
    </p>
    
    <p>
    A channel may be closed with the built-in function
    <a href="#Close"><code>close</code></a>.
    The multi-valued assignment form of the
    <a href="#Receive_operator">receive operator</a>
    reports whether a received value was sent before
    the channel was closed.
    </p>
    
    <p>
    A single channel may be used in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLokio/ForwardingSink;-><init>(Lokio/Sink;)V
    HSPLokio/ForwardingSink;->close()V
    HSPLokio/ForwardingSink;->write(Lokio/Buffer;J)V
    HSPLokio/ForwardingSource;-><init>(Lokio/Source;)V
    HSPLokio/ForwardingSource;->close()V
    HSPLokio/GzipSource;-><init>(Lokio/Source;)V
    HSPLokio/GzipSource;->checkEqual(Ljava/lang/String;II)V
    HSPLokio/GzipSource;->close()V
    HSPLokio/GzipSource;->read(Lokio/Buffer;J)J
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		if err != nil {
    			bugLogIf(ctx, stream.AddError(err.Error()))
    			return
    		}
    		addErr = func(msg string) {
    			inspectZipW.Close()
    			encStream.Close()
    			stream.AddError(msg)
    		}
    		defer encStream.Close()
    
    		inspectZipW = zip.NewWriter(encStream)
    		defer inspectZipW.Close()
    	} else {
    		// Legacy: Remove if we stop supporting inspection without public key.
    		var key [32]byte
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+e.cancel+'</button> <button class="uk-button uk-button-primary">'+e.ok+"</button> </div> </form>"},t,function(t){return t.resolve(null)},function(t){return Ce("input",t.$el).value})},a.labels={ok:"Ok",cancel:"Cancel"}},mixins:[sr],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
Back to top