- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for getLine (0.3 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java
.filter(pair -> pair.getDistance() < pair.getLine().length() / 2) // Find the closest match .min(Comparator.comparingInt(LineWithDistance::getDistance)) .map(LineWithDistance::getLine)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 19K bytes - Viewed (0) -
pkg/proxy/nftables/helpers_test.go
"k8s.io/apimachinery/pkg/util/sets" netutils "k8s.io/utils/net" "sigs.k8s.io/knftables" ) // getLine returns a string containing the file and line number of the caller, if // possible. This is useful in tests with a large number of cases - when something goes // wrong you can find which case more easily. func getLine() string { _, file, line, ok := runtime.Caller(1) if !ok { return "" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 09:57:47 UTC 2024 - 48.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/ReceivedProblem.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 12:45:23 UTC 2024 - 11.2K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ProblemsProgressEventConsumer.java
LineInFileLocation fileLocation = (LineInFileLocation) location; return new org.gradle.internal.build.event.types.DefaultLineInFileLocation(fileLocation.getPath(), fileLocation.getLine(), fileLocation.getColumn(), fileLocation.getLength()); } else if (location instanceof OffsetInFileLocation) { OffsetInFileLocation fileLocation = (OffsetInFileLocation) location;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 12K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java
} } } SyntaxException syntaxError = e.getErrorCollector().getSyntaxError(0); int lineNumber = syntaxError == null ? -1 : syntaxError.getLine(); String message = String.format("Could not compile %s.", source.getDisplayName()); throw ((InternalProblems) getProblemsService()).getInternalReporter().throwing(builder -> builder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java
if (value instanceof LineInFileLocation) { out.name("subtype").value("lineInFile"); LineInFileLocation l = (LineInFileLocation) value; out.name("line").value(l.getLine()); out.name("column").value(l.getColumn()); out.name("length").value(l.getLength()); } else if (value instanceof OffsetInFileLocation) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 27.7K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java
AbstractLibrary library = (AbstractLibrary) entry; final File file = library.getLibrary().getFile(); final File source = library.getSourcePath() == null ? null : library.getSourcePath().getFile(); final File javadoc = library.getJavadocPath() == null ? null : library.getJavadocPath().getFile(); DefaultEclipseExternalDependency dependency;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 26.3K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java
CodeBlock result = interceptedCallable.getKind() == CallableKindInfo.STATIC_METHOD ? CodeBlock.of("opcode == $T.INVOKESTATIC", Opcodes.class) : interceptedCallable.getKind() == CallableKindInfo.INSTANCE_METHOD ? CodeBlock.of("(opcode == $1T.INVOKEVIRTUAL || opcode == $1T.INVOKEINTERFACE)", Opcodes.class) :
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:50:01 UTC 2024 - 27.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java
} } private static boolean hasGroovyPropertyRequests(List<CallInterceptionRequest> requests) { return requests.stream().anyMatch(it -> it.getInterceptedCallable().getKind() == GROOVY_PROPERTY_GETTER || it.getInterceptedCallable().getKind() == GROOVY_PROPERTY_SETTER); } @SuppressWarnings("ReturnValueIgnored") private static CodeBlock interceptorClassJavadoc(Collection<CallInterceptionRequest> requests) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 16.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
wagonManager.getArtifact(artifact, repo, null, false); assertTrue(artifact.getFile().exists()); assertEquals("expected", FileUtils.fileRead(artifact.getFile(), "UTF-8")); } private Artifact createTestPomArtifact(String directory) throws IOException { File testData = getTestFile(directory);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 13.4K bytes - Viewed (0)