Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for testProg (0.14 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

                }
            """
            file("hello/build.gradle") << """
                apply plugin: 'swift-library'
                group = 'test'
                dependencies {
                    api 'test:log:1.4'
                }
            """
            file("log/build.gradle") << """
                apply plugin: 'swift-library'
                group = 'test'
            """
    
            app.library.writeToProject(file("hello"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (1)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

          fail();
        } catch (NullPointerException expected) {
        }
        assertSame(comparator, reserialize(comparator));
        assertEquals("Ordering.natural()", comparator.toString());
      }
    
      public void testFrom() {
        Ordering<String> caseInsensitiveOrdering = Ordering.from(String.CASE_INSENSITIVE_ORDER);
        assertEquals(0, caseInsensitiveOrdering.compare("A", "a"));
        assertTrue(caseInsensitiveOrdering.compare("a", "B") < 0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. src/slices/slices_test.go

    		for i := range ss {
    			ss[i] = i
    		}
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    			_ = CompactFunc(ss, func(a, b Element) bool { return a == b })
    		}
    	})
    }
    
    func TestGrow(t *testing.T) {
    	s1 := []int{1, 2, 3}
    
    	copy := Clone(s1)
    	s2 := Grow(copy, 1000)
    	if !Equal(s1, s2) {
    		t.Errorf("Grow(%v) = %v, want %v", s1, s2, s1)
    	}
    	if cap(s2) < 1000+len(s1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
      protected void tearDown() throws Exception {
        assertNoExpectedFailures();
        super.tearDown();
      }
    
      public void testFrom() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
                .transform(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
      protected void tearDown() throws Exception {
        assertNoExpectedFailures();
        super.tearDown();
      }
    
      public void testFrom() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
                .transform(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    	}
    }
    
    func TestReadOnly(t *testing.T) {
    	// Test that read-only data is indeed read-only.
    	testenv.MustHaveGoBuild(t)
    
    	t.Parallel()
    
    	src := filepath.Join("testdata", "testRO", "x.go")
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "run", src)
    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		t.Errorf("running test program did not fail. output:\n%s", out)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = "tfl.add_n"(%arg0, %arg1, %arg2): (tensor<? x f16>, tensor<? x f16>, tensor<? x f16>) -> tensor<? x f16>
      func.return %0 : tensor<? x f16>
    }
    
    // -----
    
    // CHECK-LABEL: testLog
    func.func @testLog(tensor<? x f32>) -> tensor<? x f32> {
    ^bb0(%arg0: tensor<? x f32>):
      // CHECK: "tfl.log"(%arg0)
      %0 = "tfl.log"(%arg0): (tensor<? x f32>) -> tensor<? x f32>
      func.return %0 : tensor<? x f32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    	var x any = func() {}
    	v := ValueOf(x)
    	if fmt.Sprint(v.Interface()) != fmt.Sprint(x) {
    		t.Fatalf("TestFunction returned wrong pointer")
    	}
    	assert(t, v.Type().String(), "func()")
    }
    
    func TestGrow(t *testing.T) {
    	v := ValueOf([]int(nil))
    	shouldPanic("reflect.Value.Grow using unaddressable value", func() { v.Grow(0) })
    	v = ValueOf(new([]int)).Elem()
    	v.Grow(0)
    	if !v.IsNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top