Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for tokstring (0.2 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/api/JavaVersionSpec.groovy

            JavaVersion.VERSION_1_6.toString() == "1.6"
            JavaVersion.VERSION_1_7.toString() == "1.7"
            JavaVersion.VERSION_1_8.toString() == "1.8"
            JavaVersion.VERSION_1_9.toString() == "9"
            JavaVersion.VERSION_1_10.toString() == "10"
            JavaVersion.VERSION_11.toString() == "11"
            JavaVersion.VERSION_12.toString() == "12"
            JavaVersion.VERSION_13.toString() == "13"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/collect/PersistentListTest.groovy

            elements << [["a"], ["a", "b"]]
        }
    
        def "has a nice toString method"() {
            expect:
            PersistentList.of().toString() == "Nil"
            PersistentList.of("a").toString() == "a"
            PersistentList.of("a", "b").toString() == "a : b"
            PersistentList.of("a", "b", "c").toString() == "a : b : c"
            PersistentList.of("a", "b", "c", "d").toString() == "a : b : c : d"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                    .setStandardError(new TeeOutputStream(error, System.err))
                    .get()
                OutputScrapingExecutionResult.from(output.toString(), error.toString())
            }
            return model
        }
    
        void fetchModelFails(Class type = SomeToolingModel.class) {
            failure = toolingApiExecutor.runFailingBuildWithToolingConnection { connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCircularReferenceIntegrationTest.groovy

                    private final String z
    
                    Circular(String a, String z) {
                        this.a = a
                        this.z = z
                    }
    
                    String toString() {
                        "$a:$z"
                    }
                }
    
                class Indirect {
                    def references = new HashSet<Object>()
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/DefaultExcludesFixture.groovy

                            from("input")
                            into("build/output")
                        }
                    """
                }
            }
    
            @Override
            String toString() {
                return "${locations.join(" and ")} settings${scriptLanguage}"
            }
        }
    
        static enum ScriptLanguage {
    
            GROOVY(".gradle"),
            KOTLIN(".gradle.kts")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/RemoteScriptUpToDateChecker.kt

                    lockingAccessCoordinator.useCache {
                        val cachedResource = externalResourceFileStore.move(externalResource.toString(), downloadAction.destination)
                        val fileInFileStore = cachedResource.file
                        cachedExternalResourceIndex.store(externalResourceName.toString(), fileInFileStore, downloadAction.metaData)
                    }
    
                    false
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // Two futures should not have the same toString, to avoid people asserting on it
        assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString());
      }
    
      public void testToString_oom() throws Exception {
        SettableFuture<Object> future = SettableFuture.create();
        future.set(
            new Object() {
              @Override
              public String toString() {
                throw new OutOfMemoryError();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            if (unit == ScaleUnit.BYTE) {
                builder.append(Long.toString(size));
            } else if (scaledSize < 0.05d || scaledSize >= 10.0d) {
                builder.append(Long.toString(Math.round(scaledSize)));
            } else {
                builder.append(Double.toString(Math.round(scaledSize * 10d) / 10d));
            }
    
            if (!omitSymbol) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // Two futures should not have the same toString, to avoid people asserting on it
        assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString());
      }
    
      public void testToString_oom() throws Exception {
        SettableFuture<Object> future = SettableFuture.create();
        future.set(
            new Object() {
              @Override
              public String toString() {
                throw new OutOfMemoryError();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

                        def command = [${ShellScript.cmdToVarargLiterals(cmd)}, "\${someArgument.toString()}"]
                        """
                }
    
                @Override
                String getJava(List<String> cmd) {
                    return """
                        Object someArgument = new Object() {
                            public String toString() {
                                return "--some-argument";
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top