- Sort Score
- Result 10 results
- Languages All
Results 2121 - 2130 of 3,818 for Avoid (0.09 sec)
-
guava-tests/test/com/google/common/cache/CacheStatsTest.java
import junit.framework.TestCase; /** * Unit test for {@link CacheStats}. * * @author Charles Fry */ public class CacheStatsTest extends TestCase { public void testEmpty() { CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); assertEquals(0, stats.requestCount()); assertEquals(0, stats.hitCount()); assertThat(stats.hitRate()).isEqualTo(1.0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
public class ClassTraversalTest { private static int count = 0; /** * @throws Exception */ @Before public void setUp() throws Exception { count = 0; } /** * @throws Exception */ @Test public void testForEachJarFile() throws Exception { final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
} @Override public void setInitParameterMap(final Map<String, Object> params) { buf.append("value=").append(params.get("hoge")); } }); clientFactory.setInitParameterMap(paramMap); assertEquals("value=test", buf.toString()); } public void test_getClient_null() { String url;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
} } } else { setOtherLocation(key, location); } } // -- void setLocation( Object, InputLocation ) /** * * * @param key * @param location */ public void setOtherLocation(Object key, InputLocation location) { if (location != null) { if (this.locations == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.5K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
@Resource private CrawlerContainer crawlerContainer; @Override protected String prepareConfigFile() { return "crawler.xml"; } public void test_execute_web() throws Exception { final CrawlerWebServer server = new CrawlerWebServer(7070); server.start(); final String url = "http://localhost:7070/"; try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test.cc
#include "tensorflow/core/protobuf/cluster.pb.h" #include "tensorflow/core/protobuf/config.pb.h" #include "tensorflow/core/protobuf/tensorflow_server.pb.h" namespace { using ::tensorflow::string; void TestRemoteExecute(bool async) { tensorflow::ServerDef server_def = GetServerDef(2); // This server def has the task index set to 0. string serialized = server_def.SerializeAsString();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 12 00:14:22 UTC 2020 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
@Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetHashCodeTester<E> extends AbstractSetTester<E> { public void testHashCode() { int expectedHashCode = 0; for (E element : getSampleElements()) { expectedHashCode += ((element == null) ? 0 : element.hashCode()); } assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
max_recv = handle.max_recv; ptype = 11; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } public int getOpnum() { return 0; } public void encode_in(NdrBuffer buf) throws NdrException { buf.enc_ndr_short(max_xmit); buf.enc_ndr_short(max_recv); buf.enc_ndr_long(0); /* assoc. group */ buf.enc_ndr_small(1); /* num context items */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java
* @see jcifs.util.transport.Request#setRequestCredits(int) */ @Override public void setRequestCredits ( int credits ) { setCredit(credits); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#setTid(int) */ @Override public void setTid ( int t ) { setTreeId(t); } /** * {@inheritDoc}
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
private File getPom(String name) { return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile(); } @Test void testCompleteWiring() throws Exception { ModelBuilder builder = new DefaultModelBuilderFactory().newInstance(); assertNotNull(builder);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0)