Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for setResult (0.05 sec)

  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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

        static String getResultMessage(int result) {
            return result < 4 ?
                    result_message[result] :
                    "0x" + jcifs.smb1.util.Hexdump.toHexString(result, 4);
        }
        public DcerpcException getResult() {
            if (result != 0)
                return new DcerpcException(getResultMessage(result));
            return null;
        }
    
        DcerpcBinding binding;
        int max_xmit, max_recv;
    
        public DcerpcBind() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  3. 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 () {
            return new String(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  4. 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 Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcBind.java

        private static String getResultMessage ( 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;
        private int max_xmit, max_recv;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  6. 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 =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. 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());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (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();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         */
        public void setFlag ( int flag ) {
            this.flags |= flag;
        }
    
    
        /**
         * 
         * @return result exception, if the call failed
         */
        public DcerpcException getResult () {
            if ( this.result != 0 )
                return new DcerpcException(this.result);
            return null;
        }
    
    
        void encode_header ( NdrBuffer buf ) {
            buf.enc_ndr_small(5); /* RPC version */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            return (flags & flag) == flag;
        }
        public void unsetFlag(int flag) {
            flags &= ~flag;
        }
        public void setFlag(int flag) {
            flags |= flag;
        }
        public DcerpcException getResult() {
            if (result != 0)
                return new DcerpcException(result);
            return null;
        }
    
        void encode_header(NdrBuffer buf) {
            buf.enc_ndr_small(5); /* RPC version */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
Back to top