- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,813 for Strings (0.19 sec)
-
guava/src/com/google/common/base/Strings.java
* * @param string a string reference to check * @return {@code true} if the string is null or is the empty string */ public static boolean isNullOrEmpty(@CheckForNull String string) { return Platform.stringIsNullOrEmpty(string); } /** * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
private static final String SECRET_PATTERN = "^(smb.*:).*(@.*)$"; private static final String SECRET_MASK_REPLACE = "$1******$2"; /** * */ private Strings () {} /** * * @param str * @param encoding * @return encoded */ public static byte[] getBytes ( String str, Charset encoding ) { if ( str == null ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
* * @param string a string reference to check * @return {@code true} if the string is null or is the empty string */ public static boolean isNullOrEmpty(@CheckForNull String string) { return Platform.stringIsNullOrEmpty(string); } /** * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 09 00:49:18 GMT 2021 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/Strings.java
*/ package jcifs.tests; /** * @author mbechler * */ public class Strings { /** * from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/quickbrown.txt */ static final String[] UNICODE_STRINGS = new String[] { "da - jordbær fløde på", // x "de - Zwölf Boxkämpfer", // x "el - Γαζέες καὶ μυρτιὲς", // x
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
* * @return the caclulated mac */ public static byte[] nTOWFv2 ( String domain, String username, byte[] passwordHash ) { MessageDigest hmac = Crypto.getHMACT64(passwordHash); hmac.update(Strings.getUNIBytes(username.toUpperCase())); hmac.update(Strings.getUNIBytes(domain)); return hmac.digest(); } /** * @param password
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 12:07:20 GMT 2020 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
} } String stringA = new String(charsA); String stringB = new String(charsB); assertThat(stringA).isNotEqualTo(stringB); assertThat(HASH_FN.hashUnencodedChars(stringA)) .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); assertThat(fingerprint(stringA.getBytes(UTF_8))) .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jul 19 14:00:24 GMT 2016 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
} } String stringA = new String(charsA); String stringB = new String(charsB); assertThat(stringA).isNotEqualTo(stringB); assertThat(HASH_FN.hashUnencodedChars(stringA)) .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB)); assertThat(fingerprint(stringA.getBytes(UTF_8))) .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 29 14:55:25 GMT 2021 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java
String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Queue<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) { strings[i] = String.valueOf(Math.random()); } } @Benchmark void addsAndRemoves(int reps) { int capacity = this.capacity; BlockingQueue<String> queue = this.queue; String[] strings = this.strings; for (int i = 0; i < reps; i++) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java
String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of {@link * #create(Object...)}. */ protected abstract List<String> create(String[] elements); @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.7K bytes - Viewed (0)