Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for stringInput (0.16 sec)

  1. android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

        assertEquals("6c1b07bc7bbc4be347939ac4a93c437a", foxHash.toString());
      }
    
      private static void assertHash(int seed, long expected1, long expected2, String stringInput) {
        HashCode expected = toHashCode(expected1, expected2);
        byte[] input = HashTestUtils.ascii(stringInput);
        assertEquals(expected, murmur3_128(seed).hashBytes(input));
        assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

                    @TaskAction
                    def action() {
                        println("stringInput = \${stringInput.get()}")
                    }
                }
    
                tasks.register("myTask", MyTask) {
                    stringInput.convention("defaultValue")
                    stringInput = $selfReference
                }
            """
    
            when:
            fails "myTask"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy

                    @TaskAction
                    def action() {
                        println("stringInput = \${stringInput.get()}")
                    }
                }
    
                tasks.register("myTask", MyTask) {
                    def p = provider { "value" }
                    p = p.map { v -> v + p.get()}
                    stringInput = p
                }
            """
    
            when:
            fails "myTask"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 15:32:52 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                    void doStuff() {
                        println("Hello world")
                    }
                }
    
                tasks.register("failingTask", FailingTask) {
                    stringInput.set(provider { throw new RuntimeException("BOOM") })
                }
            """)
    
            when:
            fails "failingTask"
    
            then:
            if (GradleContextualExecuter.isConfigCache()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top