Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 86 for Pandoc (0.17 sec)

  1. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

      @Test
      public void undirectedNetwork() {
        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableNetwork<Integer, Object> network =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/net/UuidUtil.java

        private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 };
    
        private static final SecureRandom RANDOM = new SecureRandom();
    
        private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM));
    
        /**
         * UUIDを作成します。
         *
         * @return UUIDの文字列
         */
        public static String create() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-utils.go

    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    	// Xor each value to make order independent
    	for k, v := range m {
    		// Separate key and value with an individual xor with a random number.
    		// Add values of each, so they cannot be trivially collided.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. istioctl/pkg/proxystatus/proxystatus_test.go

    			args:          strings.Split("deployment/random-gibberish", " "),
    			wantException: true,
    		},
    		{ // case 3: supplying nonexistent deployment name
    			args:          strings.Split("deployment/random-gibberish.default", " "),
    			wantException: true,
    		},
    		{ // case 4: supplying nonexistent deployment name in nonexistent namespace
    			args:          strings.Split("deployment/random-gibberish.bogus", " "),
    			wantException: true,
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

            assertEquals("org.codehaus.modello", pluginGroups.get(1));
            assertEquals("org.codehaus.plexus", pluginGroups.get(2));
        }
    
        @Test
        void testRoundTripProfiles() {
            Random entropy = new Random();
            ActivationFile af = ActivationFile.newBuilder()
                    .exists("exists" + Long.toHexString(entropy.nextLong()))
                    .missing("missing" + Long.toHexString(entropy.nextLong()))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/LongMathTest.java

        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeOnUniformRandom() {
        Random rand = new Random(1);
        for (int bits = 10; bits < 63; bits++) {
          for (int i = 0; i < 2000; i++) {
            // A random long between 0 and Long.MAX_VALUE, inclusive.
            long l = rand.nextLong() & ((1L << bits) - 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. internal/kms/single-key.go

    			APICode:        "KMS.InternalException",
    			Err:            errors.New("invalid algorithm: " + algorithm),
    		}
    	}
    
    	nonce, err := sioutil.Random(aead.NonceSize())
    	if err != nil {
    		return DEK{}, err
    	}
    
    	plaintext, err := sioutil.Random(32)
    	if err != nil {
    		return DEK{}, err
    	}
    	associatedData, _ := context.MarshalText()
    	ciphertext := aead.Seal(nil, nonce, plaintext, associatedData)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/LongMathTest.java

        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeOnUniformRandom() {
        Random rand = new Random(1);
        for (int bits = 10; bits < 63; bits++) {
          for (int i = 0; i < 2000; i++) {
            // A random long between 0 and Long.MAX_VALUE, inclusive.
            long l = rand.nextLong() & ((1L << bits) - 1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. common/scripts/setup_env.sh

        local local_config
        local_config="$(mktemp)"
        cp "${1}" "${local_config}"
    
        kubeconfig_random="$(od -vAn -N4 -tx /dev/random | tr -d '[:space:]' | cut -c1-8)"
        container_kubeconfig+="/config/${kubeconfig_random}:"
        CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${local_config},destination=/config/${kubeconfig_random} "
      fi
    }
    
    # This function is designed for maximum compatibility with various platforms. This runs on
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			args:           strings.Split("clusters deployment/random-gibberish", " "),
    			expectedString: `"deployment/random-gibberish" does not refer to a pod`,
    			wantException:  true,
    		},
    		{ // supplying nonexistent deployment name in nonexistent namespace
    			args:           strings.Split("endpoint deployment/random-gibberish.bogus", " "),
    			expectedString: `"deployment/random-gibberish" does not refer to a pod`,
    			wantException:  true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top