Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for textTransform (0.19 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultVariantTransformRegistryTest.groovy

            registration.to.getAttribute(TEST_ATTRIBUTE) == "TO"
            registration.transformStep.transform.implementationClass == TestTransform
            registration.transformStep.transform.isolatedParameters.supplier.parameterObject instanceof TestTransform.Parameters
        }
    
        def "creates registration for parameterless action"() {
            when:
            registry.registerTransform(ParameterlessTestTransform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 11:18:50 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/lockedfile/transform_test.go

    }
    
    func roundDownToPowerOf2(x int) int {
    	if x <= 0 {
    		panic("nonpositive x")
    	}
    	bit := 1
    	for x != bit {
    		x = x &^ bit
    		bit <<= 1
    	}
    	return x
    }
    
    func TestTransform(t *testing.T) {
    	dir, remove := mustTempDir(t)
    	defer remove()
    	path := filepath.Join(dir, "blob.bin")
    
    	const maxChunkWords = 8 << 10
    	buf := make([]byte, 2*maxChunkWords*8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 22:37:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/DisambiguateArtifactTransformIntegrationTest.groovy

            implementation project(':lib')
        }
    
        def hasExtraAttribute = providers.gradleProperty('extraAttribute').isPresent()
    
        dependencies {
            registerTransform(TestTransform) { // A
                from.attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_API))
                from.attribute(artifactType, 'java-classes-directory')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy

    allprojects {
        dependencies {
            // Multi step transform
            registerTransform(TestTransform) {
                from.attribute(color, 'blue')
                to.attribute(color, 'yellow')
                parameters {
                    transformName = 'Transform step 1'
                }
            }
            registerTransform(TestTransform) {
                from.attribute(color, 'yellow')
                to.attribute(color, 'green')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 54.2K bytes
    - Viewed (0)
  5. test/typeparam/listimp2.dir/main.go

    	checkList(&l2, []interface{}{2})
    
    	l1.MoveBefore(e1, e2)
    	checkList(&l1, []interface{}{1})
    	checkList(&l2, []interface{}{2})
    }
    
    // Test the Transform function.
    func TestTransform() {
    	l1 := a.New[int]()
    	l1.PushBack(1)
    	l1.PushBack(2)
    	l2 := a.Transform(l1, strconv.Itoa)
    	checkList(l2, []interface{}{"1", "2"})
    }
    
    func main() {
    	TestList()
    	TestExtending()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

                      }
                    },
                    directExecutor());
        assertThat(f.get()).isEqualTo(CustomRuntimeException.class);
      }
    
      public void testTransform() throws Exception {
        FluentFuture<Integer> f =
            FluentFuture.from(immediateFuture(1))
                .transform(
                    new Function<Integer, Integer>() {
                      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

                      }
                    },
                    directExecutor());
        assertThat(f.get()).isEqualTo(CustomRuntimeException.class);
      }
    
      public void testTransform() throws Exception {
        FluentFuture<Integer> f =
            FluentFuture.from(immediateFuture(1))
                .transform(
                    new Function<Integer, Integer>() {
                      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. test/typeparam/list2.go

    	checkList(&l2, []interface{}{2})
    
    	l1.MoveBefore(e1, e2)
    	checkList(&l1, []interface{}{1})
    	checkList(&l2, []interface{}{2})
    }
    
    // Test the Transform function.
    func TestTransform() {
    	l1 := _New[int]()
    	l1.PushBack(1)
    	l1.PushBack(2)
    	l2 := _Transform(l1, strconv.Itoa)
    	checkList(l2, []interface{}{"1", "2"})
    }
    
    func main() {
    	TestList()
    	TestExtending()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  10. staging/src/k8s.io/apimachinery/pkg/fields/selector_test.go

    		if value != v.Value {
    			t.Errorf("%s: expected value %s, got %s", k, v.Value, value)
    		}
    		if found != v.Found {
    			t.Errorf("%s: expected found %t, got %t", k, v.Found, found)
    		}
    	}
    }
    
    func TestTransform(t *testing.T) {
    	testCases := []struct {
    		name      string
    		selector  string
    		transform func(field, value string) (string, string, error)
    		result    string
    		isEmpty   bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 27 08:00:38 UTC 2017
    - 11.2K bytes
    - Viewed (0)
Back to top