Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 297 for chancap (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/recognizer.go

    	var (
    		lastErr error
    		skipped []runtime.Decoder
    	)
    
    	// try recognizers, record any decoders we need to give a chance later
    	for _, r := range d.decoders {
    		switch t := r.(type) {
    		case RecognizingDecoder:
    			ok, unknown, err := t.RecognizesData(data)
    			if err != nil {
    				lastErr = err
    				continue
    			}
    			if unknown {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. src/crypto/ecdsa/ecdsa.go

    	k = bigmod.NewNat()
    	for {
    		b := make([]byte, c.N.Size())
    		if _, err = io.ReadFull(rand, b); err != nil {
    			return
    		}
    
    		// Mask off any excess bits to increase the chance of hitting a value in
    		// (0, N). These are the most dangerous lines in the package and maybe in
    		// the library: a single bit of bias in the selection of nonces would likely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

     * request body. If a request body is not retryable then the client may fail the request, making
     * client behavior non-deterministic. Add delays in the client to improve the chances that the
     * server has closed the socket before follow up requests are made.
     */
    @ExperimentalOkHttpApi
    sealed interface SocketPolicy {
      /**
       * Shutdown [MockWebServer] after writing response.
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

         * Communicates a request for build cancellation. Note that this method blocks until the operation has been cancelled.
         *
         * <p>If any long running command is currently running, this method does block for certain time to give chance to perform cancellation, and if the command
         * doesn't finnish in a timely manner a request for forceful stop will be issued ({@link #requestForcefulStop(String reason)}.</p>
         */
        void cancelBuild();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. pkg/kubelet/qos/policy.go

    	// that burstable pods have a higher OOM score adjustment.
    	if int(oomScoreAdjust) < (1000 + guaranteedOOMScoreAdj) {
    		return (1000 + guaranteedOOMScoreAdj)
    	}
    	// Give burstable pods a higher chance of survival over besteffort pods.
    	if int(oomScoreAdjust) == besteffortOOMScoreAdj {
    		return int(oomScoreAdjust - 1)
    	}
    	return int(oomScoreAdjust)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 14:49:26 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. src/runtime/sema_test.go

    	// nondeterministic, so this test checks that we get the
    	// desired outcome in a significant majority of cases.
    	// The actual ratio of direct handoffs is much higher
    	// (>90%) but we use a lower threshold to minimize the
    	// chances that unrelated changes in the runtime will
    	// cause the test to fail or become flaky.
    	if ok < iter*2/3 {
    		t.Fatal("direct handoff < 2/3:", ok, iter)
    	}
    }
    
    func TestSemaHandoff1(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 21 19:37:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

    @Deprecated
    public class DefaultWagonManager extends org.apache.maven.repository.legacy.DefaultWagonManager
            implements WagonManager {
    
        // NOTE: This must use a different field name than in the super class or IoC has no chance to inject the loggers
        @Inject
        private Logger log;
    
        @Inject
        private LegacySupport legacySupport;
    
        @Inject
        private SettingsDecrypter settingsDecrypter;
    
        @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. pkg/kube/multicluster/cluster.go

    	select {
    	case <-c.stop:
    		return
    	default:
    		close(c.stop)
    	}
    }
    
    func (c *Cluster) HasSynced() bool {
    	// It could happen when a wrong credential provide, this cluster has no chance to run.
    	// In this case, the `initialSyncTimeout` will never be set
    	// In order not block istiod start up, check close as well.
    	if c.Closed() {
    		return true
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/index/suffixarray/suffixarray.go

    					result[count] = pairs[j : j+2]
    					count++
    					prev = i + len(lit)
    				}
    			}
    			result = result[0:count]
    			if len(result) >= n || len(indices) != n1 {
    				// found all matches or there's no chance to find more
    				// (n and n1 can be negative)
    				break
    			}
    		}
    		if len(result) == 0 {
    			result = nil
    		}
    		return
    	}
    
    	// regexp has a non-empty literal prefix; Lookup(lit) computes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/os/tempfile.go

    import (
    	"errors"
    	"internal/bytealg"
    	"internal/itoa"
    	_ "unsafe" // for go:linkname
    )
    
    // random number source provided by runtime.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet - keeps the number of tries in
    // TempFile to a minimum.
    //
    //go:linkname runtime_rand runtime.rand
    func runtime_rand() uint64
    
    func nextRandom() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 18:04:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top