Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 75 for setResult (0.19 seconds)

  1. android/guava/src/com/google/common/io/LineProcessor.java

      @CanIgnoreReturnValue // some uses know that their processor never returns false
      boolean processLine(String line) throws IOException;
    
      /** Return the result of processing all the lines. */
      @ParametricNullness
      T getResult();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

                projectExecutionListener.afterProjectExecutionSuccess(
                        new ProjectExecutionEvent(session, currentProject, mojoExecutions));
    
                reactorContext
                        .getResult()
                        .addBuildSummary(new BuildSuccess(currentProject, Duration.between(buildStartTime, buildEndTime)));
    
                eventCatapult.fire(ExecutionEvent.Type.ProjectSucceeded, session, null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/ByteSourceTest.java

                System.arraycopy(buf, off, processedBytes, pos, len);
                pos += len;
                return true;
              }
    
              @Override
              public byte[] getResult() {
                return processedBytes;
              }
            };
    
        source.read(processor);
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

        fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Java, query: JavaSourceQuery<T>): T =
            openJavaCompilationUnitsByFile
                .computeIfAbsent(apiSourceFile.currentFile) { JavaParser().parse(it).getResult().get() }
                .accept(query.visitor, null)
                ?: query.defaultValue
    
    
        fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Kotlin, transform: (KtFile) -> T): T =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. 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;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                final Instant buildStartTime) {
            // record the error and mark the project as failed
            Instant buildEndTime = MonotonicClock.now();
            buildContext.getResult().addException(t);
            buildContext
                    .getResult()
                    .addBuildSummary(new BuildFailure(mavenProject, Duration.between(buildStartTime, buildEndTime), t));
    
            // notify listeners about "soft" project build failures only
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

                    this.lastName = e.getFilename();
                    this.resumeKey = e.getFileIndex();
                }
    
                bufferIndex += e.getNextEntryOffset();
            }
    
            setResults(results);
    
            /*
             * last nextEntryOffset for NT 4(but not 98) is 0 so we must
             * use dataCount or our accounting will report an error for NT :~(
             */
            return getDataCount();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

        /**
         * Gets the interim result of the model building up to the point where it failed.
         *
         * @return The interim model building result or {@code null} if not available.
         */
        public ModelBuildingResult getResult() {
            return result;
        }
    
        /**
         * Gets the model that could not be built properly.
         *
         * @return The erroneous model or {@code null} if not available.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

                off = start + off;
                e.remark = readString(buffer, off, 128, false);
    
                if (log.isTraceEnabled()) {
                    log.trace(e.toString());
                }
            }
            setResults(results);
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top