Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 377 for randPod (0.27 sec)

  1. pkg/proxy/nftables/helpers_test.go

    				tracer.matches = append(tracer.matches, ruleObj.Rule)
    				tracer.outputs = append(tracer.outputs, destEndpoint)
    				return true
    
    			case endpointVMAPRegexp.MatchString(rule):
    				// `^numgen random mod \d+ vmap \{(.*)\}$`
    				// Selects a random endpoint and jumps to it. For tracePacket's
    				// purposes, we jump to *all* of the endpoints.
    				match := endpointVMAPRegexp.FindStringSubmatch(rule)
    				elements := match[1]
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    class WebSocketReaderTest {
      private val data = Buffer()
      private val callback = WebSocketRecorder("client")
      private val random = Random(0)
    
      // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test.
      private val serverReader =
        WebSocketReader(
          isClient = false,
          source = data,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

            }
    
            this.localPid = (int) ( Math.random() * 65536d );
            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if ( this.machineId == null ) {
                byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    
            if ( this.nativeOs == null ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      private static void runLeastOfComparison(int iterations, int elements, int seeds) {
        Random random = new Random(42);
        Ordering<Integer> ordering = Ordering.natural();
    
        for (int i = 0; i < iterations; i++) {
          List<Integer> list = Lists.newArrayList();
          for (int j = 0; j < elements; j++) {
            list.add(random.nextInt(10 * i + j + 1));
          }
    
          for (int seed = 1; seed < seeds; seed++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_tls13.go

    		c.sendAlert(alertIllegalParameter)
    		return errors.New("tls: TLS 1.3 client supports illegal compression methods")
    	}
    
    	hs.hello.random = make([]byte, 32)
    	if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
    		c.sendAlert(alertInternalError)
    		return err
    	}
    
    	if len(hs.clientHello.secureRenegotiation) != 0 {
    		c.sendAlert(alertHandshakeFailure)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_server.go

    			hs.finishedHash.Sum())
    	} else {
    		hs.masterSecret = masterFromPreMasterSecret(c.vers, hs.suite, preMasterSecret,
    			hs.clientHello.random, hs.hello.random)
    	}
    	if err := c.config.writeKeyLog(keyLogLabelTLS12, hs.clientHello.random, hs.masterSecret); err != nil {
    		c.sendAlert(alertInternalError)
    		return err
    	}
    
    	// If we received a client cert in response to our certificate request message,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        final int min;
        final int max;
    
        private ListSizeDistribution(int min, int max) {
          this.min = min;
          this.max = max;
        }
    
        public int chooseSize(Random random) {
          return random.nextInt(max - min + 1) + min;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  8. pilot/pkg/model/context_test.go

    			in: &model.Proxy{
    				Type:         model.Router,
    				ID:           "random",
    				IPAddresses:  []string{"10.3.3.3"},
    				DNSDomain:    "local",
    				Metadata:     &model.NodeMetadata{},
    				IstioVersion: model.MaxIstioVersion,
    			},
    			out: "router~10.3.3.3~random~local",
    		},
    		{
    			in: &model.Proxy{
    				Type:        model.SidecarProxy,
    				ID:          "random",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultFileLockManager.java

            this.generator = generator;
        }
    
        private static class RandomLongIdGenerator implements LongSupplier {
            private final Random random = new Random();
    
            @Override
            public long getAsLong() {
                return random.nextLong();
            }
        }
    
    
        @Override
        public FileLock lock(File target, LockOptions options, String targetDisplayName) throws LockTimeoutException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:32 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testRemovalNotification_get_basher() throws InterruptedException {
        int nTasks = 1000;
        int nThreads = 100;
        final int getsPerTask = 1000;
        final int nUniqueKeys = 10000;
        final Random random = new Random(); // Randoms.insecureRandom();
    
        QueuingRemovalListener<String, String> removalListener = queuingRemovalListener();
        final AtomicInteger computeCount = new AtomicInteger();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
Back to top