Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for setResults (0.07 seconds)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    // Provide a query response with two entries
                    Smb2QueryDirectoryResponse qr = new Smb2QueryDirectoryResponse(config, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
                    setResults(qr, new FileEntry[] { fe1, fe2 });
                    q.setResponse(qr);
                    return cr;
                }
                if (arg instanceof Smb2QueryDirectoryRequest) {
                    queryCount[0]++;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @return the results
         */
        public final FileEntry[] getResults() {
            return this.results;
        }
    
        /**
         * Sets the file entry results for the response
         * @param results
         *            the results to set
         */
        protected final void setResults(final FileEntry[] results) {
            this.results = results;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            // Test with null entries
            response.setResults(null);
            assertNull(response.getResults());
    
            // Test with empty entries
            FileEntry[] emptyEntries = new FileEntry[0];
            response.setResults(emptyEntries);
            assertSame(emptyEntries, response.getResults());
            assertEquals(0, response.getResults().length);
    
            // Test with multiple entries
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertNull(response.getResults()); // Should be null before decoding
        }
    
        @Test
        @DisplayName("Test getResults returns null initially")
        void testGetResultsInitiallyNull() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
    
            assertNull(response.getResults());
        }
    
        @Test
        @DisplayName("Test getResults returns decoded file entries")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            field.setAccessible(true);
            field.setInt(response, value);
        }
    
        private FileEntry[] getResults(NetShareEnumResponse response) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "getResults");
            method.setAccessible(true);
            return (FileEntry[]) method.invoke(response);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  6. 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);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test numEntries property - getNumEntries() is public
            assertEquals(0, response.getNumEntries());
    
            // Test results property (should be null initially) - getResults() is public
            assertNull(response.getResults());
        }
    
        @Test
        @DisplayName("Test buffer management")
        void testBufferManagement() {
            // Test buffer setting and releasing
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            List<ExceptionSummary> children = null;
    
            if (exception instanceof ProjectBuildingException projectBuildingException) {
                List<ProjectBuildingResult> results = projectBuildingException.getResults();
    
                children = new ArrayList<>();
    
                for (ProjectBuildingResult result : results) {
                    ExceptionSummary child = handle(result);
                    if (child != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            th.send(req, resp);
            if (resp.getStatus() != WinError.ERROR_SUCCESS) {
                throw new SmbException(resp.getStatus(), true);
            }
    
            return resp.getResults();
        }
    
        static CloseableIterator<SmbResource> doShareEnum(final SmbFile parent, final String wildcard, final int searchAttributes,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top