- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of about 10,000 for NEW (0.28 sec)
-
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
URL url1 = new URL("file:/a"); URL url2 = new URL("file:/b"); URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null); URLClassLoader parent = new URLClassLoader(new URL[] {url2}, grandParent); assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) .containsExactly(new File("/a"), grandParent, new File("/b"), parent); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 26 14:02:27 UTC 2024 - 24.9K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy
File file1 = new File("f1") File file2 = new File("f2") File file3 = new File("f3") TestFileCollection collection1 = new TestFileCollection(file1, file2) TestFileCollection collection2 = new TestFileCollection(file2, file3) when: FileCollection sum = collection1.plus(collection2) then: assertThat(sum, instanceOf(UnionFileCollection.class))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java
List<Statement> statements = new ArrayList<Statement>(); statements.add(new ExpressionStatement(new BinaryExpression(new FieldExpression(inputsField), ASSIGN, new VariableExpression("inputs")))); statements.add(new ExpressionStatement(new BinaryExpression(new FieldExpression(ruleFactoryField), ASSIGN, new VariableExpression("ruleFactory")))); node.addMethod(new MethodNode("makeRule",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 18.3K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_wasm.go
func Xadd(ptr *uint32, delta int32) uint32 { new := *ptr + uint32(delta) *ptr = new return new } //go:nosplit //go:noinline func Xadd64(ptr *uint64, delta int64) uint64 { new := *ptr + uint64(delta) *ptr = new return new } //go:nosplit //go:noinline func Xadduintptr(ptr *uintptr, delta uintptr) uintptr { new := *ptr + delta *ptr = new return new } //go:nosplit //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "1" }), is(true)); assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1", "2", "3" }, new Object[] { "2", "3", "1" }), is(true)); assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "2" }), is(not(true))); assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] {}), is(not(true)));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
public void testList() { assertFreshInstance(new TypeToken<List<String>>() {}); assertNotInstantiable(new TypeToken<List<EmptyEnum>>() {}); } public void testArrayList() { assertFreshInstance(new TypeToken<ArrayList<String>>() {}); assertNotInstantiable(new TypeToken<ArrayList<EmptyEnum>>() {}); } public void testLinkedList() { assertFreshInstance(new TypeToken<LinkedList<String>>() {}); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 17.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy
def files1 = ['file1.jar', 'file2.jar'].collect { new File(it).canonicalFile } def files2 = ['file2.jar', 'file3.jar'].collect { new File(it).canonicalFile } def options = new DefaultJavaForkOptions(resolver, fileCollectionFactory, new DefaultJavaDebugOptions()) def other = new DefaultJavaForkOptions(resolver, fileCollectionFactory, new DefaultJavaDebugOptions()) when: options.with {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 25.5K bytes - Viewed (0) -
pkg/util/sets/set_test.go
first: New("a"), second: New[string](), want: true, }, { name: "equal", first: New("a", "b"), second: New("a", "b"), want: true, }, { name: "first contains all second", first: New("a", "b", "c"), second: New("a", "b"), want: true, }, { name: "second contains all first", first: New("a", "b"), second: New("a", "b", "c"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 7.9K bytes - Viewed (0) -
src/runtime/atomic_pointer.go
func sync_atomic_StoreUintptr(ptr *uintptr, new uintptr) //go:linkname sync_atomic_StorePointer sync/atomic.StorePointer //go:nosplit func sync_atomic_StorePointer(ptr *unsafe.Pointer, new unsafe.Pointer) { if writeBarrier.enabled { atomicwb(ptr, new) } if goexperiment.CgoCheck2 { cgoCheckPtrWrite(ptr, new) } sync_atomic_StoreUintptr((*uintptr)(unsafe.Pointer(ptr)), uintptr(new)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/plugins/ide/internal/tooling/DefaultGradleProjectTest.groovy
def root = new DefaultGradleProject().setProjectIdentifier(new DefaultProjectIdentifier(new File("."), ":")) def child1 = new DefaultGradleProject().setProjectIdentifier(new DefaultProjectIdentifier(new File("."), ":child1")) def child11 = new DefaultGradleProject().setProjectIdentifier(new DefaultProjectIdentifier(new File("."), ":child1:child11"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.1K bytes - Viewed (0)