Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 373 for closeFn (0.19 sec)

  1. pilot/pkg/features/pilot.go

    		"If enabled, ExternalName Services will be treated as simple aliases: anywhere where we would match the concrete service, "+
    			"we also match the ExternalName. In general, this mirrors Kubernetes behavior more closely. However, it means that policies (routes and DestinationRule) "+
    			"cannot be applied to the ExternalName service. "+
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/net/http/request.go

    	// is responsible for calling the Close method.
    	//
    	// For server requests, the Request Body is always non-nil
    	// but will return EOF immediately when no body is present.
    	// The Server will close the request body. The ServeHTTP
    	// Handler does not need to.
    	//
    	// Body must allow Read to be called concurrently with Close.
    	// In particular, calling Close should unblock a Read waiting
    	// for input.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        assertInterrupted();
      }
    
      public void testJoinTimeoutMultiInterruptExpired() {
        /*
         * We don't "need" to schedule a thread completion at all here, but by doing
         * so, we come the closest we can to testing that the wait time is
         * appropriately decreased on each progressive join() call.
         */
        TimedThread thread = TimedThread.createWithDelay(LONG_DELAY_MS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. internal/event/target/nats_contrib_test.go

    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14223
    	opts.Username = "testminio"
    	opts.Password = "miniotest"
    	s := natsserver.RunServer(&opts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheFactory.java

                        close();
                    }
                } finally {
                    lock.unlock();
                }
            }
    
            @Override
            public void close() {
                onClose(cache);
                dirCaches.values().remove(this);
                references.clear();
                cache.close();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 15:54:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/cmd/trace/testdata/testprog/main.go

    		log.Fatalf("listen failed: %v", err)
    	}
    	defer ln.Close()
    	go func() {
    		c, err := ln.Accept()
    		if err != nil {
    			return
    		}
    		time.Sleep(time.Millisecond)
    		var buf [1]byte
    		c.Write(buf[:])
    		c.Close()
    	}()
    	c, err := net.Dial("tcp", ln.Addr().String())
    	if err != nil {
    		log.Fatalf("dial failed: %v", err)
    	}
    	var tmp [1]byte
    	c.Read(tmp[:])
    	c.Close()
    
    	trace.Stop()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/distpack/pack.go

    		h.Name = f.Name
    		if err := tw.WriteHeader(h); err != nil {
    			panic(err)
    		}
    		r := check(os.Open(f.Src))
    		check(io.Copy(tw, r))
    		check1(r.Close())
    	}
    	f.Name = ""
    	check1(tw.Close())
    	check1(zw.Close())
    	check1(out.Close())
    	reportHash(name)
    }
    
    // writeZip writes the archive in zip form to the file named name.
    func writeZip(name string, a *Archive) {
    	out, err := os.Create(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ScopedFingerprintWriter.kt

        private val writeContext: DefaultWriteContext
    ) : Closeable {
        override fun close() {
            // we synchronize access to all resources used by callbacks
            // in case there was still an event being dispatched at closing time.
            synchronized(writeContext) {
                unsafeWrite(null)
                writeContext.close()
            }
        }
    
        fun write(value: T, trace: PropertyTrace? = null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	}()
    
    	// We expect all init events to be delivered.
    	for i := 0; i < numObjects; i++ {
    		<-w.ResultChan()
    	}
    	// We don't expect any other event to be delivered and thus
    	// the ResultChan to be closed.
    	result, ok := <-w.ResultChan()
    	if ok {
    		t.Errorf("unexpected event: %#v", result)
    	}
    
    	wg.Wait()
    }
    
    func TestTimeBucketWatchersBasic(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

                    try {
                        copyInputStream(zipFile.getInputStream(entry), outputStream);
                    } finally {
                        outputStream.close();
                    }
                }
            } finally {
                zipFile.close();
            }
        }
    
        private void copyInputStream(InputStream in, OutputStream out) throws IOException {
            byte[] buffer = new byte[1024];
            int len;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top