Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 85 for getResult (0.06 seconds)

  1. 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)
  2. 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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.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 ModelBuilderResult getResult() {
            return result;
        }
    
        /**
         * Gets the identifier of the POM whose effective model could not be built. The general format of the identifier is
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

        class ResultManagementTests {
    
            @Test
            @DisplayName("getResult should return null for success (result=0)")
            void testGetResultSuccess() {
                message.result = 0;
                assertNull(message.getResult());
            }
    
            @Test
            @DisplayName("getResult should return DcerpcException for non-zero result")
            void testGetResultError() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  5. android/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)
  6. 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)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

        @Nonnull
        Map<? extends ArtifactCoordinates, ResultItem> getResults();
    
        /**
         * Retrieves the resolution result for a specific set of artifact coordinates.
         *
         * @param coordinates The {@link ArtifactCoordinates} identifying the artifact.
         * @return The corresponding {@link ResultItem}, or {@code null} if no result exists.
         */
        default ResultItem getResult(ArtifactCoordinates coordinates) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            this.flags |= flag;
        }
    
        /**
         * Get the result of the DCERPC call.
         * @return result exception, if the call failed
         */
        public DcerpcException getResult() {
            if (this.result != 0) {
                return new DcerpcException(this.result);
            }
            return null;
        }
    
        void encode_header(final NdrBuffer buf) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            flags |= flag;
        }
    
        /**
         * Get the result of the DCERPC call.
         * @return result exception if the call failed, null otherwise
         */
        public DcerpcException getResult() {
            if (result != 0) {
                return new DcerpcException(result);
            }
            return null;
        }
    
        void encode_header(final NdrBuffer buf) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTester.java

                    out.write(buf, off, len);
                    return true;
                  }
    
                  @Override
                  public byte[] getResult() {
                    return out.toByteArray();
                  }
                });
    
        assertExpectedBytes(readBytes);
      }
    
      public void testHash() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top