Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for NEW (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationQueueTest.groovy

                [[new Success(), new Success(), new Failure()],
                 [new Success(), new Failure(), new Success()],
                 [new Failure(), new Success(), new Success()],
                 [new Failure(), new Failure(), new Failure()],
                 [new Failure(), new Failure(), new Success()],
                 [new Failure(), new Success(), new Failure()],
                 [new Success(), new Failure(), new Failure()]],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2}, -1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, -2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 0, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, 2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 3, new byte[] {2, 1});
    
        testRotate(new byte[] {1, 2, 3}, -5, new byte[] {3, 1, 2});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ProgressOperationsTest.groovy

            when:
            ops.start("Building", null, new OperationIdentifier(1), null)
            ops.start("Resolving", null, new OperationIdentifier(2), new OperationIdentifier(1))
            def op3 = ops.progress("Download", new OperationIdentifier(2))
            def op4 = ops.complete(new OperationIdentifier(2))
    
            then:
            op3 == op4
    
            when:
            ops.progress("foo", new OperationIdentifier(2))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testRotate() {
        testRotate(new char[] {}, -1, new char[] {});
        testRotate(new char[] {}, 0, new char[] {});
        testRotate(new char[] {}, 1, new char[] {});
    
        testRotate(new char[] {'1'}, -2, new char[] {'1'});
        testRotate(new char[] {'1'}, -1, new char[] {'1'});
        testRotate(new char[] {'1'}, 0, new char[] {'1'});
        testRotate(new char[] {'1'}, 1, new char[] {'1'});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

            Server server = new Server();
            server.setId("repository");
            server.setUsername("jason");
            server.setPassword("abc123");
            Xpp3Dom httpConfiguration = new Xpp3Dom("httpConfiguration");
            Xpp3Dom httpHeaders = new Xpp3Dom("httpHeaders");
            Xpp3Dom property = new Xpp3Dom("property");
            Xpp3Dom headerName = new Xpp3Dom("name");
            headerName.setValue("header");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Mar 27 14:46:12 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertTrue(synonymItem1.equals(synonymItem1));
            assertTrue(synonymItem1.equals(new SynonymItem(1, new String[] { "a" }, new String[] { "b" })));
            assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "a" }, new String[] { "B", })));
            assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "A" }, new String[] { "b" })));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

    class MessageTest extends Specification {
        GroovyClassLoader source = new GroovyClassLoader(getClass().classLoader)
        GroovyClassLoader dest = new GroovyClassLoader(getClass().classLoader)
    
        def "can transport graph of exceptions"() {
            def cause1 = new ExceptionWithState("nested-1", ["a", 1])
            def cause2 = new IOException("nested-2")
            def cause = new DefaultMultiCauseException("nested", cause1, cause2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top