Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of about 10,000 for NEW (0.06 sec)

  1. guava-tests/test/com/google/common/primitives/IntsTest.java

        testRotate(new int[] {1, 2}, -1, new int[] {2, 1});
        testRotate(new int[] {1, 2}, -2, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 0, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 1, new int[] {2, 1});
        testRotate(new int[] {1, 2}, 2, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 3, new int[] {2, 1});
    
        testRotate(new int[] {1, 2, 3}, -5, new int[] {3, 1, 2});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloserTest.java

        assertSuppressed(
            new Suppression(c2, tryException, c2Exception),
            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testErrors() throws IOException {
        Closer closer = new Closer(suppressor);
    
        Error c1Exception = new Error();
        Error c2Exception = new Error();
        Error c3Exception = new Error();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/descriptor/internal/DefaultEarModuleTest.groovy

            where:
            lhs || rhs || equals
            new DefaultEarModule("some.jar") | new DefaultEarModule("some-other.jar") | false
            new DefaultEarModule("some.jar") | new DefaultEarModule("some.jar") | true
            new DefaultEarModule(path: "some.jar", altDeployDescriptor: "some.xml") | new DefaultEarModule("some.jar") | false
            new DefaultEarSecurityRole("role", "description") | new DefaultEarSecurityRole("role", "description") | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
    func (in *ControllerRevision) DeepCopy() *ControllerRevision {
    	if in == nil {
    		return nil
    	}
    	out := new(ControllerRevision)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *ControllerRevision) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:00 UTC 2022
    - 23.8K bytes
    - Viewed (0)
  5. test/fixedbugs/issue31573.go

    		defer f([]*int{new(int)}...)           // ERROR "\[\]\*int{...} does not escape$" "new\(int\) does not escape$"
    		defer f([]*int{new(int), new(int)}...) // ERROR "\[\]\*int{...} does not escape$" "new\(int\) does not escape$"
    
    		go f()
    		go f(new(int))           // ERROR "... argument does not escape$" "new\(int\) does not escape$"
    		go f(new(int), new(int)) // ERROR "... argument does not escape$" "new\(int\) does not escape$"
    
    		go f(nil...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:37:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
    func (in *ControllerRevision) DeepCopy() *ControllerRevision {
    	if in == nil {
    		return nil
    	}
    	out := new(ControllerRevision)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *ControllerRevision) DeepCopyObject() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:00 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId("org.apache.maven");
            exclusion.setArtifactId("maven-model");
            ExclusionArtifactFilter filter = new ExclusionArtifactFilter(Collections.singletonList(exclusion));
    
            assertThat(filter.include(artifact), is(true));
        }
    
        @Test
        void testExcludeGroupIdWildcard() {
            Exclusion exclusion = new Exclusion();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Aug 29 15:25:58 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy

            StdinHandler handler = Mock()
            def input1 = new ForwardInput("hello".bytes)
            def input2 = new ForwardInput("hello".bytes)
            def closeInput = new CloseInput()
            def received = new CountDownLatch(1)
    
            when:
            daemonConnection.onStdin(handler)
            connection.queueIncoming(input1)
            connection.queueIncoming(input2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testRotate() {
        testRotate(new boolean[] {}, -1, new boolean[] {});
        testRotate(new boolean[] {}, 0, new boolean[] {});
        testRotate(new boolean[] {}, 1, new boolean[] {});
    
        testRotate(new boolean[] {true}, -2, new boolean[] {true});
        testRotate(new boolean[] {true}, -1, new boolean[] {true});
        testRotate(new boolean[] {true}, 0, new boolean[] {true});
        testRotate(new boolean[] {true}, 1, new boolean[] {true});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 15:43:29 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. pkg/apis/resource/zz_generated.deepcopy.go

    		in, out := &in.AvailableOnNodes, &out.AvailableOnNodes
    		*out = new(core.NodeSelector)
    		(*in).DeepCopyInto(*out)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResult.
    func (in *AllocationResult) DeepCopy() *AllocationResult {
    	if in == nil {
    		return nil
    	}
    	out := new(AllocationResult)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 33.8K bytes
    - Viewed (0)
Back to top