- Sort Score
- Result 10 results
- Languages All
Results 1131 - 1140 of 3,818 for Avoid (0.02 sec)
-
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
return suite; } public void testCreation_noArgs() { Multiset<String> multiset = ImmutableMultiset.of(); assertTrue(multiset.isEmpty()); } public void testCreation_oneElement() { Multiset<String> multiset = ImmutableMultiset.of("a"); assertEquals(HashMultiset.create(asList("a")), multiset); } public void testCreation_twoElements() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
return suite; } // Creation tests public void testCreation_noArgs() { List<String> list = ImmutableList.of(); assertEquals(emptyList(), list); } public void testCreation_oneElement() { List<String> list = ImmutableList.of("a"); assertEquals(singletonList("a"), list); } public void testCreation_twoElements() { List<String> list = ImmutableList.of("a", "b");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
public void outEdges_oneEdge() { addEdge(N1, N2, E12); assertThat(network.outEdges(N2)).containsExactly(E12); assertThat(network.outEdges(N1)).containsExactly(E12); } @Test public void predecessors_oneEdge() { addEdge(N1, N2, E12); assertThat(network.predecessors(N2)).containsExactly(N1); assertThat(network.predecessors(N1)).containsExactly(N2); } @Test
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
public void testConstructor_anonymousClass() { String toTest = MoreObjects.toStringHelper(new Object() {}).toString(); assertEquals("{}", toTest); } public void testConstructorLenient_anonymousClass() { String toTest = MoreObjects.toStringHelper(new Object() {}).toString(); assertTrue(toTest, toTest.matches(".*\\{\\}")); } @GwtIncompatible // Class names are obfuscated in GWT
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 21:19:18 UTC 2024 - 21.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java
public class DefaultCorsHandler extends CorsHandler { @PostConstruct public void register() { final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); fessConfig.getApiCorsAllowOriginList().forEach(s -> factory.add(s, this)); } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class AccessHeaders { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("https://api.github.com/repos/square/okhttp/issues") .header("User-Agent", "OkHttp Headers.java")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
* * @throws SmbException */ void treeConnectLogon () throws SmbException; /** * @param share * @param service * @return tree instance */ SmbTree getSmbTree ( String share, String service ); /** * Initiate reauthentication * * @throws CIFSException */ void reauthenticate () throws CIFSException;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/LineIteratorTest.java
import java.io.StringReader; import org.junit.Test; /** * @author koichik */ public class LineIteratorTest { /** * @throws Exception */ @Test public void test() throws Exception { final StringReader reader = new StringReader("aaa\nbbb\nccc\n"); final LineIterator it = new LineIterator(reader); assertThat(it.hasNext(), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
return userData[key] } void putUserData(String key, Object value) { userData[key] = value } } ClassPool instanceScopedPool = new ClassPool() JApiClass apiClass = Stub(JApiClass) def setup() { instanceScopedPool.appendSystemPath() } void noViolation(def rule) { assert rule.maybeViolation(apiClass) == null
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java
/** * @author shinsuke * */ public class ContentLengthHelper { protected long defaultMaxLength = 10L * 1024L * 1024L;// 10M protected Map<String, Long> maxLengthMap = new HashMap<>(); public void addMaxLength(final String mimeType, final long maxLength) { if (StringUtil.isBlank(mimeType)) { throw new CrawlerSystemException("MIME type is a blank."); } if (maxLength < 0) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.9K bytes - Viewed (0)