Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 863 for inte (0.05 sec)

  1. docs/distributed/DESIGN.md

    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/rbac/v1alpha1";
    
    // AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
    message AggregationRule {
      // ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
    
        protected abstract int writeParameterWordsWireFormat ( byte[] dst, int dstIndex );
    
    
        protected abstract int writeBytesWireFormat ( byte[] dst, int dstIndex );
    
    
        protected abstract int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex );
    
    
        protected abstract int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multiset.java

       *     zero instead.
       */
      @CanIgnoreReturnValue
      int setCount(@ParametricNullness E element, int count);
    
      /**
       * Conditionally sets the count of an element to a new value, as described in {@link
       * #setCount(Object, int)}, provided that the element has the expected current count. If the
       * current count is not {@code oldCount}, no change is made.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

      static void checkAvalanche(HashFunction function, int trials, double epsilon) {
        Random rand = new Random(0);
        int keyBits = 32;
        int hashBits = function.bits();
        for (int i = 0; i < keyBits; i++) {
          int[] same = new int[hashBits];
          int[] diff = new int[hashBits];
          // go through trials to compute probability
          for (int j = 0; j < trials; j++) {
            int key1 = rand.nextInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
      static final int MAX_SEGMENTS = 1 << 16; // slightly conservative
    
      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

       * @since 14.0
       */
      public static CharSink asCharSink(File file, Charset charset, FileWriteMode... modes) {
        return asByteSink(file, modes).asCharSink(charset);
      }
    
      /**
       * Reads all bytes from a file into a byte array.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#readAllBytes}.
       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

          return;
        }
        int newThreshold = 1 + (int) (newCapacity * loadFactor);
        int[] newTable = newTable(newCapacity);
        long[] entries = this.entries;
    
        int mask = newTable.length - 1;
        for (int i = 0; i < size; i++) {
          long oldEntry = entries[i];
          int hash = getHash(oldEntry);
          int tableIndex = hash & mask;
          int next = newTable[tableIndex];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    If the passwords don't match, we return the same error.
    
    #### Password hashing
    
    "Hashing" means: converting some content (a password in this case) into a sequence of bytes (just a string) that looks like gibberish.
    
    Whenever you pass exactly the same content (exactly the same password) you get exactly the same gibberish.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. cmd/ftp-server-driver.go

    			claims[ldapUser] = lookupResult.NormDN
    			claims[ldapActualUser] = lookupResult.ActualDN
    			claims[ldapUserN] = ctx.Sess.LoginUser()
    
    			// Add LDAP attributes that were looked up into the claims.
    			for attribKey, attribValue := range lookupResult.Attributes {
    				claims[ldapAttribPrefix+attribKey] = attribValue
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top