Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 297 for chancap (0.19 sec)

  1. src/os/exec_windows_test.go

    		}
    		if err = w.Close(); err != nil {
    			t.Fatal(err)
    		}
    	}
    	// Then run each executable and remove its directory.
    	// Run each executable in a separate goroutine to add some load
    	// and increase the chance of triggering the bug.
    	var wg sync.WaitGroup
    	wg.Add(n)
    	for i := 0; i < n; i++ {
    		go func(i int) {
    			defer wg.Done()
    			name := execs[i]
    			dir := filepath.Dir(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 15:13:24 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. pkg/apis/policy/types.go

    	// but not yet healthy are considered disrupted and can be evicted regardless
    	// of whether the criteria in a PDB is met. This means perspective running
    	// pods of a disrupted application might not get a chance to become healthy.
    	// Healthy pods will be subject to the PDB for eviction.
    	//
    	// Additional policies may be added in the future.
    	// Clients making eviction decisions should disallow eviction of unhealthy pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. cmd/kubelet/app/options/globalflags_linux.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"flag"
    	"os"
    
    	"github.com/spf13/pflag"
    
    	// ensure libs have a chance to globally register their flags
    	_ "github.com/google/cadvisor/container/common"
    	_ "github.com/google/cadvisor/container/containerd"
    	_ "github.com/google/cadvisor/container/raw"
    	_ "github.com/google/cadvisor/machine"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 07 20:15:13 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. docs/en/docs/help-fastapi.md

    * In many cases, it's better to understand their **underlying problem or use case**, because there might be a better way to solve it than what they are trying to do.
    
    ### Ask to close
    
    If they reply, there's a high chance you would have solved their problem, congrats, **you're a hero**! 🦸
    
    * Now, if that solved their problem, you can ask them to:
    
        * In GitHub Discussions: mark the comment as the **answer**.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy

            server.expect("handle:b")
            server.expect("serviceClosed")
    
            def build = executer.withTasks("b").start()
    
            handleA.waitForAllPendingCalls()
            // Increase the chance of the test to detect a broken implementation that doesn't wait for events to be processed before closing the service.
            sleep(1000)
            handleA.releaseAll()
    
            result = build.waitForFinish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/os/proc.go

    		// unexpected call to os.Exit(0).
    		panic("unexpected call to os.Exit(0) during test")
    	}
    
    	// Inform the runtime that os.Exit is being called. If -race is
    	// enabled, this will give race detector a chance to fail the
    	// program (racy programs do not have the right to finish
    	// successfully). If coverage is enabled, then this call will
    	// enable us to write out a coverage data file.
    	runtime_beforeExit(code)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. pkg/test/echo/server/endpoint/http.go

    	if err := setHeaderResponseFromHeaders(r, w); err != nil {
    		writeError(&body, "response headers error: "+err.Error())
    	}
    
    	// If the request has form ?codes=code[:chance][,code[:chance]]* return those codes, rather than 200
    	// For example, ?codes=500:1,200:1 returns 500 1/2 times and 200 1/2 times
    	// For example, ?codes=500:90,200:10 returns 500 90% of times and 200 10% of times
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/testprog/stacks.go

    		var data [1]byte
    		rp.Read(data[:])
    		pipeReadDone <- true
    	}()
    
    	time.Sleep(100 * time.Millisecond)
    	runtime.GC()
    	runtime.Gosched()
    	time.Sleep(100 * time.Millisecond) // the last chance for the goroutines above to block
    	done1 <- true
    	<-done2
    	select {
    	case c1 <- 0:
    	case c2 <- 0:
    	}
    	mu.Unlock()
    	wg.Done()
    	cv.Signal()
    	c, err := net.Dial("tcp", ln.Addr().String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/testserver/test_server.go

    		l, err := net.Listen("tcp", ":0")
    		if err != nil {
    			return nil, fmt.Errorf("could not bind to a port: %v", err)
    		}
    		// It is possible but unlikely that someone else will bind this port before we get a chance to use it.
    		defer l.Close()
    		ports = append(ports, l.Addr().(*net.TCPAddr).Port)
    	}
    	return ports, nil
    }
    
    // NewTestConfig returns a configuration for an embedded etcd server.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 06 11:40:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

     * When such a classloader attempts to define a class, the agent calls {@link #instrumentClass(String, ProtectionDomain, byte[])} method
     * giving the classloader a chance to rewrite the bytecode of the class.
     * <p>
     * Methods defined in this interface may be called concurrently in multiple threads.
     */
    public interface InstrumentingClassLoader {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top