Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for Charms (0.03 sec)

  1. android/guava/src/com/google/common/primitives/Chars.java

     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    public final class Chars {
      private Chars() {}
    
      /**
       * The number of bytes required to represent a primitive {@code char} value.
       *
       * <p>Prefer {@link Character#BYTES} instead.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Chars.java

     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    public final class Chars {
      private Chars() {}
    
      /**
       * The number of bytes required to represent a primitive {@code char} value.
       *
       * <p>Prefer {@link Character#BYTES} instead.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashingTest.java

        }
      }
    
      private void checkConsistentHashCorrectness(long hashCode) {
        int last = 0;
        for (int shards = 1; shards <= 100000; shards++) {
          int b = Hashing.consistentHash(hashCode, shards);
          if (b != last) {
            assertEquals(shards - 1, b);
            last = b;
          }
        }
      }
    
      public void testConsistentHash_probabilities() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    									}
    								}
    							}
    							fmt.Println("Attempting to reconstruct with partial shards")
    							offset := 0
    							startOffset := 0
    							shardConfig := make([]byte, k)
    							reconstructAbleConfig := false
    							shards := make([][]byte, m.shards)
    							for i := range shards {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 3)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 4)).isTrue();
      }
    
      public void testIndexOf() {
        assertThat(Chars.indexOf(EMPTY, (char) 1)).isEqualTo(-1);
        assertThat(Chars.indexOf(ARRAY1, (char) 2)).isEqualTo(-1);
        assertThat(Chars.indexOf(ARRAY234, (char) 1)).isEqualTo(-1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashingTest.java

        }
      }
    
      private void checkConsistentHashCorrectness(long hashCode) {
        int last = 0;
        for (int shards = 1; shards <= 100000; shards++) {
          int b = Hashing.consistentHash(hashCode, shards);
          if (b != last) {
            assertEquals(shards - 1, b);
            last = b;
          }
        }
      }
    
      public void testConsistentHash_probabilities() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

          char[] chars = randomChars(rand, rand.nextInt(63) + 1);
          CharMatcher m = SmallCharMatcher.from(bitSet(chars), new String(chars));
          checkExactMatches(m, chars);
        }
      }
    
      static void checkExactMatches(CharMatcher m, char[] chars) {
        Set<Character> positive = Sets.newHashSetWithExpectedSize(chars.length);
        for (char c : chars) {
          positive.add(c);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            /**
             * Default constructor for ShareInfoCtr0.
             */
            public ShareInfoCtr0() {
            }
    
            /**
             * The number of shares in the array.
             */
            /**
             * The number of shares in the array.
             */
            public int count;
            /**
             * Array of ShareInfo0 structures containing share information.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

            if (isEmpty(name)) {
                return name;
            }
            final char[] chars = name.toCharArray();
            if (chars.length >= 2 && Character.isUpperCase(chars[0]) && Character.isUpperCase(chars[1])) {
                return name;
            }
            chars[0] = Character.toLowerCase(chars[0]);
            return new String(chars);
        }
    
        /**
         * Capitalizes a string according to JavaBeans conventions.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SecureCredentialStorage.java

         * Convert char array to byte array (UTF-8)
         */
        private byte[] charsToBytes(char[] chars) {
            if (chars == null) {
                return null;
            }
    
            // Use UTF-8 encoding
            byte[] bytes = new byte[chars.length * 3]; // Max 3 bytes per char in UTF-8
            int byteIndex = 0;
    
            for (char c : chars) {
                if (c < 0x80) {
                    bytes[byteIndex++] = (byte) c;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top