Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for setResults (4.62 sec)

  1. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                doClose();
            }
            return n;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#getResults()
         */
        @Override
        protected FileEntry[] getResults() {
            return this.response.getResults();
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#fetchMore()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenTarg.java

         */
        public NegTokenTarg(final int result, final ASN1ObjectIdentifier mechanism, final byte[] mechanismToken,
                final byte[] mechanismListMIC) {
            setResult(result);
            setMechanism(mechanism);
            setMechanismToken(mechanismToken);
            setMechanismListMIC(mechanismListMIC);
        }
    
        /**
         * Constructs a NegTokenTarg by parsing the provided token bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenTargTest.java

        }
    
        @Test
        @DisplayName("serialization omits tags when field is null")
        void testSerializationOmittingNullFields() throws IOException {
            NegTokenTarg token = new NegTokenTarg();
            token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE);
            // mechanism, token and mic are left null
    
            byte[] bytes = token.toByteArray();
            NegTokenTarg parsed = new NegTokenTarg(bytes);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            field.setAccessible(true);
            field.setInt(response, value);
        }
    
        private FileEntry[] getResults(NetServerEnum2Response response) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "getResults");
            method.setAccessible(true);
            return (FileEntry[]) method.invoke(response);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

     * of all requests that were attempted, including both successful and failed operations.
     * <p>
     * The exception provides access to detailed results through {@link #getResults()}, allowing
     * callers to determine which specific requests failed and why.
     *
     * @since 4.0.0
     */
    @Experimental
    public class BatchRequestException extends RuntimeException {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.DirFileEntryEnumIteratorBase#getResults()
         */
        @Override
        protected FileEntry[] getResults() {
            final FileEntry[] results = this.response.getResults();
            if (results == null) {
                return new FileEntry[0];
            }
            return results;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * it.
         */
        setResult(transformResult);
      }
    
      /** Template method for subtypes to actually run the transform. */
      @ForOverride
      @ParametricNullness
      abstract T doTransform(F function, @ParametricNullness I result) throws Exception;
    
      /** Template method for subtypes to actually set the result. */
      @ForOverride
      abstract void setResult(@ParametricNullness T result);
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                    ProjectBuildingException.class,
                    () -> getProject(f1),
                    "Expected 'ProjectBuildingException' not thrown.");
            assertEquals(1, e.getResults().size());
            ProjectBuildingResultWithProblemMessageAssert.assertThat(e.getResults().get(0))
                    .hasProblemMessage("Version must be a constant");
        }
    
        /**
         * Tests whether local version range parent references are built correctly.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

         *
         * @return A {@link Map} where keys are {@link ArtifactCoordinates} and values are {@link ResultItem} instances.
         */
        @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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

        }
    
        private static final class ResultMsg extends TestMessage {
            void setResult(int r) {
                this.result = r;
            }
        }
    
        @Test
        void testGetResult() {
            ResultMsg m = new ResultMsg();
            assertNull(m.getResult());
            m.setResult(0xDEAD);
            DcerpcException e = m.getResult();
            assertEquals(0xDEAD, e.getErrorCode());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top