Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,233 for toStrings (0.16 sec)

  1. test/fixedbugs/issue65808.go

    type (
    	stringer  struct{}
    	stringers [2]stringer
    	foo       struct {
    		stringers
    	}
    )
    
    func (stringer) String() string  { return "" }
    func toString(s Stringer) string { return s.String() }
    
    func (v stringers) toStrings() []string {
    	return []string{toString(v[0]), toString(v[1])}
    }
    
    func main() {
    	_ = stringers{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 02 14:01:52 UTC 2024
    - 562 bytes
    - Viewed (0)
  2. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertTrue(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE);
            assertEquals("1.4", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND);
            assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE);
            restriction = restrictions.get(2);
            assertEquals("1.5", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 44.3K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiReceivingStandardStreamsCrossVersionSpec.groovy

                build.run()
            }
    
            then:
            stdout.toString().contains('this is stdout')
            stdout.toString().contains('A warning using SLF4j')
            stdout.toString().contains('A warning using JCL')
            stdout.toString().contains('A warning using Log4j')
            stdout.toString().contains('A warning using JUL')
            if (targetVersion.baseVersion >= GradleVersion.version('4.7')) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictContainerTest.groovy

            container.size == 1
            container.popConflict().toString() == "b:1,2"
        }
    
        def "contains multiple conflicting elements"() {
            container.newElement("a", [1, 2], null)
            container.newElement("b", [3, 4], null)
            expect:
            container.size == 2
            container.popConflict().toString() == "a:1,2"
            container.popConflict().toString() == "b:3,4"
        }
    
        def "pops conflicts orderly"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/test/groovy/org/gradle/api/reporting/components/internal/RendererUtilsTest.groovy

            new NamedWithToString(name: null)    | "toString():null"
            new NamedWithToString(name: "Lajos") | "toString():Lajos"
        }
    
        def "returns '#expected' when toString() returns #toStringReturns"() {
            def value = Mock(Object)
    
            when:
            def result = RendererUtils.displayValueOf(value)
    
            then:
            result == expected
            _ * value.toString() >> toStringReturns
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

                result.setBusinessCategory(DfTypeUtil.toString(source.get("businessCategory")));
                result.setCarLicense(DfTypeUtil.toString(source.get("carLicense")));
                result.setCity(DfTypeUtil.toString(source.get("city")));
                result.setDepartmentNumber(DfTypeUtil.toString(source.get("departmentNumber")));
                result.setDescription(DfTypeUtil.toString(source.get("description")));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/DescribablesTest.groovy

            value.toString() == "c two three"
            value.toString() == "d two three"
            value.capitalizedDisplayName == "E two three"
            value.capitalizedDisplayName == "F two three"
        }
    
        def "creates from type and name"() {
            expect:
            def value = Describables.withTypeAndName("some type", "name")
            value.displayName == "some type 'name'"
            value.toString() == "some type 'name'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/MojoLogWrapper.java

        }
    
        public void debug(CharSequence content) {
            if (isDebugEnabled()) {
                logger.debug(toString(content));
            }
        }
    
        private String toString(CharSequence content) {
            if (content == null) {
                return "";
            } else {
                return content.toString();
            }
        }
    
        @Override
        public void debug(CharSequence content, Throwable error) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

            when:
            formatter.node("Some thing.")
    
            then:
            formatter.toString() == "Some thing."
        }
    
        def "formats root with no children"() {
            when:
            formatter.node("Some thing.")
            formatter.startChildren()
            formatter.endChildren()
    
            then:
            formatter.toString() == "Some thing."
        }
    
        def "formats root with single leaf child"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          return delegate.getId();
        }
    
        @Override
        public String toString() {
          return delegate.toString();
        }
      }
    
      private interface Equals {
        @Override
        boolean equals(@Nullable Object obj);
    
        @Override
        int hashCode();
    
        @Override
        String toString();
      }
    
      private static class NoDelegateToEquals implements Equals {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top