Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 5,397 for returns (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Request<S extends ProtoSession> {
    
        /**
         * Returns the session associated with this request.
         *
         * @return the session instance, never {@code null}
         */
        @Nonnull
        S getSession();
    
        /**
         * Returns the trace information associated with this request, if any.
         * The trace provides context about the request's position in the operation
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Test writeDataWireFormat returns 0
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            byte[] buffer = new byte[10];
            int written = response.writeDataWireFormat(buffer, 0);
    
            assertEquals(0, written);
        }
    
        @Test
        void testReadSetupWireFormat() {
            // Test readSetupWireFormat returns 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static ListenableFuture<@Nullable Void> immediateVoidFuture() {
        return (ListenableFuture<@Nullable Void>) ImmediateFuture.NULL;
      }
    
      /**
       * Returns a {@code ListenableFuture} which has an exception set immediately upon construction.
       *
       * <p>The returned {@code Future} can't be cancelled, and its {@code isDone()} method always
       * returns {@code true}. Calling {@code get()} will immediately throw the provided {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

     *
     * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
     * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link
     * Table} interface.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            assertEquals("testfile.txt", fileBothDirectoryInfo.getName());
        }
    
        @Test
        @DisplayName("Test getType returns TYPE_FILESYSTEM")
        void testGetType() {
            assertEquals(SmbConstants.TYPE_FILESYSTEM, fileBothDirectoryInfo.getType());
        }
    
        @Test
        @DisplayName("Test getFileIndex returns correct value")
        void testGetFileIndex() throws SMBProtocolDecodingException {
            // Prepare test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertSame(session, session.acquire());
            verify(transport, times(1)).acquire();
            assertTrue(session.isInUse());
        }
    
        @Test
        @DisplayName("getSessionKey: throws when absent, returns when present")
        void testGetSessionKey() throws Exception {
            SmbSessionImpl session = newSession();
    
            // Absent key -> CIFSException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

                buffer[i] = (byte) (0xFF - i);
            }
    
            return buffer;
        }
    
        private byte[] createMockBuffer(byte infoLevel) {
            switch (infoLevel) {
            case FileInformation.FILE_BASIC_INFO:
                return createMockFileBasicInfoBuffer();
            case FileInformation.FILE_STANDARD_INFO:
                return createMockFileStandardInfoBuffer();
            case FileInformation.FILE_INTERNAL_INFO:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/net/URLUtil.java

            if (canonicalProtocol != null) {
                return canonicalProtocol;
            }
            return protocol;
        }
    
        /**
         * Returns the {@link File} object of the Jar file indicated by the URL.
         *
         * @param fileUrl
         *            The URL of the Jar file. Must not be {@literal null}.
         * @return The {@link File} of the Jar file.
         */
        public static File toFile(final URL fileUrl) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        @Test
        void testWriteSetupWireFormat() {
            // Test that writeSetupWireFormat returns 0
            byte[] dst = new byte[100];
            int result = response.writeSetupWireFormat(dst, 10);
            assertEquals(0, result);
        }
    
        @Test
        void testWriteParametersWireFormat() {
            // Test that writeParametersWireFormat returns 0
            byte[] dst = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertNull(delegatingConfig.getRandom(), "Should return null when delegate returns null");
            assertNull(delegatingConfig.getLocalAddr(), "Should return null when delegate returns null");
            assertNull(delegatingConfig.getNetbiosHostname(), "Should return null when delegate returns null");
            assertNull(delegatingConfig.getResolveOrder(), "Should return null when delegate returns null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top