Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 72 for predictable (0.25 sec)

  1. src/math/rand/v2/rand.go

    // multiple goroutines requires some kind of synchronization.
    //
    // Top-level functions, such as [Float64] and [Int],
    // are safe for concurrent use by multiple goroutines.
    //
    // This package's outputs might be easily predictable regardless of how it's
    // seeded. For random numbers suitable for security-sensitive work, see the
    // [crypto/rand] package.
    package rand
    
    import (
    	"math/bits"
    	_ "unsafe" // for go:linkname
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

          return (b.sumpos + b.sumneg) - (a.sumpos + a.sumneg);
        });
    
        return groups;
      }
    
      function display(xscale, posTotal, negTotal, list) {
        // Sort boxes so that text selection follows a predictable order.
        list.sort(function(a, b) {
          if (a.y != b.y) return a.y - b.y;
          return a.x - b.x;
        });
    
        // Adjust Y coordinates so that zero is at top.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

     *
     * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has
     * the same structure:
     *
     *  * prepare a set of plans, each with a predictable connect delay
     *  * attempt to find a connection
     *  * step through time, asserting that the expected side effects are performed.
     */
    internal class FastFallbackExchangeFinderTest {
      private val taskFaker = TaskFaker()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. src/math/rand/rand.go

    // multiple goroutines requires some kind of synchronization.
    //
    // Top-level functions, such as [Float64] and [Int],
    // are safe for concurrent use by multiple goroutines.
    //
    // This package's outputs might be easily predictable regardless of how it's
    // seeded. For random numbers suitable for security-sensitive work, see the
    // crypto/rand package.
    package rand
    
    import (
    	"internal/godebug"
    	"sync"
    	"sync/atomic"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_control.go

    	podControl        *StatefulPodControl
    	statusUpdater     StatefulSetStatusUpdaterInterface
    	controllerHistory history.Interface
    }
    
    // UpdateStatefulSet executes the core logic loop for a stateful set, applying the predictable and
    // consistent monotonic update strategy by default - scale up proceeds in ordinal order, no new pod
    // is created while any pod is unhealthy, and pods are terminated in descending order. The burst
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. hack/lib/golang.sh

    # ${PATH}. It will also check that the Go version is good enough for the
    # Kubernetes build.
    #
    # Outputs:
    #   env-var GOPATH points to our local output dir
    #   env-var GOBIN is unset (we want binaries in a predictable place)
    #   env-var PATH includes the local GOPATH
    kube::golang::setup_env() {
      # Even in module mode, we need to set GOPATH for `go build` and `go install`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    		s2c, cb := newS2CompressReader(actualReader, actualSize, wantEncryption)
    		idxCb = cb
    		defer s2c.Close()
    		reader = etag.Wrap(s2c, actualReader)
    		size = -1   // Since compressed size is un-predictable.
    		md5hex = "" // Do not try to verify the content.
    		sha256hex = ""
    	}
    
    	var forceMD5 []byte
    	// Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

              @Override
              int identityHashCode(Object object) {
                return ((Integer) object) % 5; // fake tons of collisions!
              }
            };
    
        // Don't let the elements be in such a predictable order
        list = shuffledCopy(list, new Random(1));
    
        Collections.sort(list, arbitrary);
    
        // Now we don't care what order it's put the list in, only that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  9. pilot/pkg/model/virtualservice_test.go

    		})
    	}
    
    	t.Run("test merge order", func(t *testing.T) {
    		root := rootVs.DeepCopy()
    		delegate := delegateVs.DeepCopy()
    		normal := independentVs.DeepCopy()
    
    		// make sorting results predictable.
    		t0 := time.Now()
    		root.CreationTimestamp = t0.Add(1)
    		delegate.CreationTimestamp = t0.Add(2)
    		normal.CreationTimestamp = t0.Add(3)
    
    		checkOrder := func(got []config.Config, _ map[ConfigKey][]ConfigKey) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  10. src/crypto/tls/conn.go

    		return 0, alertInternalError
    	}
    
    	if c.closeNotifySent {
    		return 0, errShutdown
    	}
    
    	// TLS 1.0 is susceptible to a chosen-plaintext
    	// attack when using block mode ciphers due to predictable IVs.
    	// This can be prevented by splitting each Application Data
    	// record into two records, effectively randomizing the IV.
    	//
    	// https://www.openssl.org/~bodo/tls-cbc.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top