Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for splitKeys (0.16 sec)

  1. pkg/ledger/smt.go

    		return
    	}
    	ch <- result{s.interiorHash(res.update, rnode, height, iBatch, root, shortcut, store, keys, values,
    		batch), nil}
    }
    
    // splitKeys divides the array of keys into 2 so they can update left and right branches in parallel
    func (s *smt) splitKeys(keys [][]byte, height int) ([][]byte, [][]byte) {
    	for i, key := range keys {
    		if bitIsSet(key, height) {
    			return keys[:i], keys[i:]
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Splitter.java

     * }</pre>
     *
     * <p>For separator-based splitters that do not use {@code omitEmptyStrings}, an input string
     * containing {@code n} occurrences of the separator naturally yields an iterable of size {@code n +
     * 1}. So if the separator does not occur anywhere in the input, a single substring is returned
     * containing the entire input. Consequently, all splitters split the empty string to {@code [""]}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Splitter.java

     * }</pre>
     *
     * <p>For separator-based splitters that do not use {@code omitEmptyStrings}, an input string
     * containing {@code n} occurrences of the separator naturally yields an iterable of size {@code n +
     * 1}. So if the separator does not occur anywhere in the input, a single substring is returned
     * containing the entire input. Consequently, all splitters split the empty string to {@code [""]}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top