- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 78 for setResult (0.05 sec)
-
guava-tests/test/com/google/common/io/CharSourceTest.java
public boolean processLine(String line) throws IOException { list.add(line); return true; } @Override public List<String> getResult() { return list; } }); assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), list); assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
int seen; @Override public boolean processLine(String line) { seen++; return false; } @Override public Integer getResult() { return seen; } }; assertEquals( "processLine was called more than once", 1, CharStreams.readLines(r, alwaysFalse).intValue());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
int seen; @Override public boolean processLine(String line) { seen++; return false; } @Override public Integer getResult() { return seen; } }; assertEquals( "processLine was called more than once", 1, CharStreams.readLines(r, alwaysFalse).intValue());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java
/** * A cache key. */ interface Key { // marker interface for cache keys } interface ArtifactsSetWithResult extends Set<Artifact> { DependencyResolutionResult getResult(); } /** * CacheRecord */ class CacheRecord { private final Set<Artifact> artifacts; private final LifecycleExecutionException exception;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
public boolean processLine(String line) throws IOException { list.add(line); return true; } @Override public List<String> getResult() { return list; } }); assertExpectedLines(list); } public void testReadLines_withProcessor_stopsOnFalse() throws IOException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverException.java
*/ public ArtifactResolverException(String message, Exception e, ArtifactResolverResult result) { super(message, e); this.result = result; } public ArtifactResolverResult getResult() { return result; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 25 21:57:56 UTC 2025 - 1.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
if (!sourceFile.name.endsWith('.java')) { throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile") } try { new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository) } catch (Exception e) { throw new DocGenerationException("Could not parse '$sourceFile'.", e) } }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
ArtifactResolverResult.ResultItem resItem = res.getResult(coordinates); pomArtifact = InternalMavenSession.from(session).toArtifact(resItem.getArtifact()); localProject = resItem.getRepository() instanceof org.apache.maven.api.WorkspaceRepository; } catch (ArtifactResolverException e) { if (e.getResult().getResults().values().iterator().next().isMissing() && allowStubModel) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
private static String getResultMessage(final int result) { return result < 4 ? result_message[result] : "0x" + jcifs.util.Hexdump.toHexString(result, 4); } @Override public DcerpcException getResult() { if (this.result != 0) { return new DcerpcException(getResultMessage(this.result)); } return null; } private DcerpcBinding binding;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
static String getResultMessage(final int result) { return result < 4 ? result_message[result] : "0x" + jcifs.smb1.util.Hexdump.toHexString(result, 4); } @Override public DcerpcException getResult() { if (result != 0) { return new DcerpcException(getResultMessage(result)); } return null; } DcerpcBinding binding; int max_xmit, max_recv; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0)