Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for NEW (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

      @Override
      public void setUp() {
        fakePool = new FakeExecutor();
        e = new SequentialExecutor(fakePool);
      }
    
      public void testConstructingWithNullExecutor_fails() {
        assertThrows(NullPointerException.class, () -> new SequentialExecutor(null));
      }
    
      public void testBasics() {
        final AtomicInteger totalCalls = new AtomicInteger();
        Runnable intCounter =
            new Runnable() {
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/autoscaling/v2beta1/zz_generated.deepcopy.go

    		*out = new(int32)
    		**out = **in
    	}
    	out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy()
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerResourceMetricStatus.
    func (in *ContainerResourceMetricStatus) DeepCopy() *ContainerResourceMetricStatus {
    	if in == nil {
    		return nil
    	}
    	out := new(ContainerResourceMetricStatus)
    	in.DeepCopyInto(out)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 15.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go

    		*out = new(types.UID)
    		**out = **in
    	}
    	if in.ResourceVersion != nil {
    		in, out := &in.ResourceVersion, &out.ResourceVersion
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions.
    func (in *Preconditions) DeepCopy() *Preconditions {
    	if in == nil {
    		return nil
    	}
    	out := new(Preconditions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/BootstrapSecurityManagerTest.groovy

            dataOut.writeInt(1) // expect one classpath entry
            dataOut.write(1234) // but the entry is not a complete UTF-8 encoded String
    
            System.in = new ByteArrayInputStream(incompleteStream.toByteArray())
    
            when:
            new BootstrapSecurityManager(new TestClassLoader()).checkPermission(new AllPermission())
    
            then:
            RuntimeException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                    SuggestItem.Kind.DOCUMENT);
    
            String[][] readings2Query = new String[2][];
            readings2Query[0] = new String[] { "zenbun", "fuga" };
            readings2Query[1] = new String[] { "kensaku", "fuga" };
            String[] tags2Query = new String[] { "tag4" };
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {1, 2}, -3, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 0, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, 2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 3, new short[] {2, 1});
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        Type t1 = new TypeCapture<T1>() {}.capture();
        Type t2 = new TypeCapture<T2>() {}.capture();
        assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1));
      }
    
      public <T> void testWhere_genericArrayMapping() {
        Type t = new TypeCapture<T>() {}.capture();
        assertEquals(
            String.class,
            new TypeResolver()
                .where(new TypeCapture<T[]>() {}.capture(), String[].class)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ProgressLoggingExternalResourceAccessorTest.groovy

            expectResourceRead(new ByteArrayInputStream(new byte[4096]))
    
            when:
            def result = accessor.withContent(location, false, action)
    
            then:
            result == "result"
    
            and:
            1 * action.execute(_, _) >> { inputStream, metaData ->
                inputStream.read(new byte[2])
                inputStream.read(new byte[560])
                inputStream.read(new byte[1000])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:31:19 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultGradlePropertiesControllerTest.groovy

            def gradlePropertiesLoader = new DefaultGradlePropertiesLoader(startParameter, environment)
            def projectPropertiesLoader = new DefaultProjectPropertiesLoader(startParameter, environment)
            def systemPropertiesInstaller = new DefaultSystemPropertiesInstaller(Mock(EnvironmentChangeTracker), startParameter, Mock(GradleInternal))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 11:52:10 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {1, 2}, -3, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 0, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, 2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 3, new short[] {2, 1});
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top