- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 251 for Charms (0.04 sec)
-
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) -
docs/debugging/hash-set/main.go
flag.StringVar(&deploymentID, "deployment-id", "", "MinIO deployment ID, obtained from 'format.json'") flag.IntVar(&setCount, "set-count", 0, "Total set count") flag.IntVar(&shards, "shards", 0, "Total shards count") flag.BoolVar(&verbose, "v", false, "Display all objects") flag.Parse() if deploymentID == "" { log.Fatalln("deployment ID is mandatory") } if setCount == 0 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
*/ private byte[] encodeUnicode(String s) { char[] chars = s.toCharArray(); byte[] out = new byte[chars.length * 2]; for (int i = 0; i < chars.length; i++) { out[2 * i] = (byte) (chars[i] & 0xFF); out[2 * i + 1] = (byte) ((chars[i] >> 8) & 0xFF); } return out; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java
this.type = info1.type; this.remark = info1.remark; } } /** * Creates a new request to enumerate shares on a server. * * @param server the server name to enumerate shares from */ public MsrpcShareEnum(final String server) { super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0); this.ptype = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java
this.type = info1.type; this.remark = info1.remark; } } /** * Creates a new request to enumerate shares on a server. * * @param server the server name to enumerate shares from */ public MsrpcShareEnum(final String server) { super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0); ptype = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
public List<Character> create(Character[] elements) { char[] chars = Chars.toArray(asList(elements)); return charactersOf(String.copyValueOf(chars)); } } public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator { @Override public List<Character> create(Character[] elements) { char[] chars = Chars.toArray(asList(elements)); StringBuilder str = new StringBuilder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
/** * Share type constant for disk shares (file shares). */ public static final byte SMB2_SHARE_TYPE_DISK = 0x1; /** * Share type constant for named pipe shares (IPC). */ public static final byte SMB2_SHARE_TYPE_PIPE = 0x2; /** * Share type constant for printer shares. */ public static final byte SMB2_SHARE_TYPE_PRINT = 0x3; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* <li> all browseable shares of a server including printers, IPC * services, or disk volumes if this resource is a server URL in the form * <code>smb1://server/</code>, * <li> or <code>null</code> if the resource cannot be resolved. * </ul> * * @return A <code>String[]</code> array of files and directories, * workgroups, servers, or shares depending on the context of the
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)