- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,463 for works (0.13 sec)
-
guava-tests/test/com/google/common/escape/EscapersTest.java
assertEquals("\0\uFFFF", escaper.escape("\0\uFFFF")); } public void testBuilderRetainsState() { // Setting a safe range and unsafe replacement works as expected. Escapers.Builder builder = Escapers.builder(); builder.setSafeRange('a', 'z'); builder.setUnsafeReplacement("X"); assertEquals("XheXXuickXXrownXXoxX", builder.build().escape("The Quick Brown Fox!"));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
*/ public class OutsideEventBusTest extends TestCase { /* * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior. * That is, even if exactly the same method works from inside the common.eventbus package tests, * it can fail here. */ public void testAnonymous() { final AtomicReference<String> holder = new AtomicReference<>();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java
// of the lists that needs to be serialized. private ImmutableBiMap<V, K> inverse; @SuppressWarnings("unchecked") // used only for the empty map, which works for any types RegularImmutableBiMap() { super(new RegularImmutableMap<K, V>(new HashMap<K, V>())); this.inverse = (ImmutableBiMap<V, K>) this; } RegularImmutableBiMap(ImmutableMap<K, V> delegate) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
* * @param pattern the pattern on which to filter file names */ public PatternFilenameFilter(Pattern pattern) { this.pattern = Preconditions.checkNotNull(pattern); } /* * Our implementation works fine with a null `dir`. However, there's nothing in the documentation * of the supertype that suggests that implementations are expected to tolerate null. That said, I
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java
dstIndex += 2; /* windows98 has what appears to be another 4 0's followed by the share * name as a zero terminated ascii string "\TMP" + '\0' * * As is this works, but it deviates from the spec section 4.1.6.6 but * maybe I should put it in. Wonder what NT does? */ return dstIndex - start; } int writeDataWireFormat( byte[] dst, int dstIndex ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
} /** * In order to reuse the glob matcher from the filesystem, we need * to create Path instances. Those are only used with the toString method. * This hack works because the only system-dependent thing is the path * separator which should not be part of the groupId or artifactId. */ private static Path createPathProxy(String value) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Aug 29 15:25:58 GMT 2023 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
<T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) { List<Iterable<T>> words = Lists.newArrayList(); words.add(Collections.<T>emptyList()); for (T t : scenario.strictlyOrderedList) { words.add(Arrays.asList(t)); for (T s : scenario.strictlyOrderedList) { words.add(Arrays.asList(t, s)); } } return new Scenario<Iterable<T>>(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
<T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario) { List<Iterable<T>> words = Lists.newArrayList(); words.add(Collections.<T>emptyList()); for (T t : scenario.strictlyOrderedList) { words.add(Arrays.asList(t)); for (T s : scenario.strictlyOrderedList) { words.add(Arrays.asList(t, s)); } } return new Scenario<Iterable<T>>(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
.testEquals(); } public void testRequireBracketsForIPv6() { // Bracketed IPv6 works fine. assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHost()); assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()); // Non-bracketed non-IPv6 works fine. assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
dstIndex += 2; /* * windows98 has what appears to be another 4 0's followed by the share * name as a zero terminated ascii string "\TMP" + '\0' * * As is this works, but it deviates from the spec section 4.1.6.6 but * maybe I should put it in. Wonder what NT does? */ return dstIndex - start; } /** * @param il * @return
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.5K bytes - Viewed (0)