- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 488 for instantiate (0.07 seconds)
-
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
() -> tester.instantiate(FactoryMethodReturnsNullAndAnnotated.class)); } public void testInstantiate_factoryMethodAcceptsNull() throws Exception { assertThat(tester.instantiate(FactoryMethodAcceptsNull.class).name).isNull(); } public void testInstantiate_factoryMethodDoesNotAcceptNull() throws Exception { assertThat(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name).isNotNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
} catch (Exception e) { throw new IllegalArgumentException(e); } } /** * Useless constructor for a class of static utility methods. * * @deprecated Do not instantiate this utility class. */ @Deprecated public Helpers() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
import java.util.NoSuchElementException; import org.junit.Ignore; /** * Tester for navigation of SortedMultisets. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
misc/wasm/wasm_exec.html
<script> if (!WebAssembly.instantiateStreaming) { // polyfill WebAssembly.instantiateStreaming = async (resp, importObject) => { const source = await (await resp).arrayBuffer(); return await WebAssembly.instantiate(source, importObject); }; } const go = new Go(); let mod, inst; WebAssembly.instantiateStreaming(fetch("test.wasm"), go.importObject).then((result) => { mod = result.module;
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Aug 30 19:15:21 GMT 2024 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
.isEqualTo(compat); } } public void testMappedIPv4Addresses() throws UnknownHostException { /* * Verify that it is not possible to instantiate an Inet6Address * from an "IPv4 mapped" IPv6 address. Our String-based method can * at least identify them, however. */ String mappedStr = "::ffff:192.168.0.1";
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
import org.codelibs.core.collection.CollectionsUtil; /** * Utility class for handling generics in Java. * * @author koichik */ public abstract class GenericsUtil { /** * Do not instantiate. */ protected GenericsUtil() { } /** * Returns <code>true</code> if the raw type of <code>type</code> can be assigned to <code>clazz</code>, * <code>false</code> otherwise. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
import org.codelibs.core.exception.NoSuchMethodRuntimeException; /** * Utility class for {@link Class} operations. * * @author higa */ public abstract class ClassUtil { /** * Do not instantiate. */ protected ClassUtil() { } /** Map from wrapper types to primitive types */ protected static final Map<Class<?>, Class<?>> wrapperToPrimitiveMap = newHashMap();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 25.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* </pre> * * @author Kimura Satoshi * @author higa * @author shinsuke * @see CopyOptionsUtil * @see CopyOptions */ public abstract class BeanUtil { /** * Do not instantiate. */ protected BeanUtil() { } /** Default options */ protected static final CopyOptions DEFAULT_OPTIONS = new CopyOptions(); /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.5K bytes - Click Count (0) -
lib/wasm/wasm_exec_node.js
require("./wasm_exec"); const go = new Go(); go.argv = process.argv.slice(2); go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env); go.exit = process.exit; WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => { process.on("exit", (code) => { // Node.js exits if no event handler is pending if (code === 0 && !go.exited) {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Aug 30 19:15:21 GMT 2024 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
import java.util.List; import org.codelibs.core.message.MessageFormatter; /** * Utility class for array operations. * * @author higa */ public abstract class ArrayUtil { /** * Do not instantiate. */ protected ArrayUtil() { } /** * Returns an array of {@literal boolean}. * * @param elements the elements of the array * @return the array */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 41.5K bytes - Click Count (0)