Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,116 for handled (1.46 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            int offset = 10;
    
            // When
            int bytesRead = request.readBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @DisplayName("Should handle different completion filter combinations")
        @ParameterizedTest
        @CsvSource({ "1, FILE_NOTIFY_CHANGE_FILE_NAME", "2, FILE_NOTIFY_CHANGE_DIR_NAME", "4, FILE_NOTIFY_CHANGE_ATTRIBUTES",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            }
    
            @Test
            @DisplayName("should handle null policy handle")
            void testNullPolicyHandleHandled() {
                // Act & Assert - The constructor accepts null policy handle without throwing
                assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", 0, null));
            }
    
            @Test
            @DisplayName("should handle empty string as system name")
            void testEmptySystemName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/samr.java

             * Constructs a SamrCloseHandle request.
             *
             * @param handle The policy handle to close
             */
            public SamrCloseHandle(final rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                this.handle.encode(_dst);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

             * Constructs a SamrCloseHandle request.
             *
             * @param handle The policy handle to close
             */
            public SamrCloseHandle(final rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    // offsets and lengths that are multiples of blockSize.
    func alignSparseEntries(src []sparseEntry, size int64) []sparseEntry {
    	dst := src[:0]
    	for _, s := range src {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/HexdumpTest.java

        }
    
        @Test
        @DisplayName("Should handle empty byte array")
        void testToHexStringEmpty() {
            // Given
            byte[] data = {};
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle null byte array")
        void testToHexStringNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. cmd/crossdomain-xml-handler_test.go

    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/mux"
    )
    
    // Test cross domain xml handler.
    func TestCrossXMLHandler(t *testing.T) {
    	// Server initialization.
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	handler := setCrossDomainPolicyMiddleware(router)
    	srv := httptest.NewServer(handler)
    
    	resp, err := http.Get(srv.URL + crossDomainXMLEntity)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jul 08 14:31:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        //
        //        handle = DcerpcHandle.getHandle("ncacn_np:" +
        //                    UniAddress.getByName(dr[0].server).getHostAddress() +
        //                    "[\\PIPE\\netdfs]", auth);
        //        try {
        //            rpc = new MsrpcDfsRootEnum(domainName);
        //            handle.sendrecv(rpc);
        //            if (rpc.retval != 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

         */
        public static final int SMB2_LEASE_READ_CACHING = 0x01;
    
        /**
         * Handle caching lease (H)
         */
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;
    
        /**
         * Write caching lease (W)
         */
        public static final int SMB2_LEASE_WRITE_CACHING = 0x04;
    
        /**
         * Read and Handle caching (RH)
         */
        public static final int SMB2_LEASE_READ_HANDLE = 0x03;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

         *
         * @param handle the DCE/RPC handle for communication
         * @param domainHandle the domain handle containing this alias
         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top