Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 137 for getTerm (0.15 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            assertEquals("Unsupported encryption type 99", exception.getMessage());
        }
    
        /**
         * Test getters with null values.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbOperationException.java

        public SmbOperationException withContext(Map<String, Object> contextMap) {
            if (contextMap != null) {
                this.context.putAll(contextMap);
            }
            return this;
        }
    
        // Getters
        public ErrorCode getErrorCode() {
            return errorCode;
        }
    
        public ErrorCategory getErrorCategory() {
            return errorCode.getCategory();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            int read = resp.decode(packet, 0, false);
            assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body");
    
            // Validate simple getters
            assertEquals((byte) 0x7, resp.getOplockLevel());
            assertEquals((byte) 0x2, resp.getOpenFlags());
            assertEquals(0x11223344, resp.getCreateAction());
            assertEquals(1111L, resp.getCreationTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            @DisplayName("Should initialize remaining to zero")
            void testInitialRemainingValue() {
                assertEquals(0, response.getRemaining());
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should get count value")
            void testGetCount() {
                // Initial value should be 0
                assertEquals(0, response.getCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            assertArrayEquals(testData, response.getData());
            // The decode method returns only the header size (16 bytes)\n        assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test getters return initial null/zero values")
        void testInitialGetterValues() {
            // Create fresh instance
            SrvPipePeekResponse freshResponse = new SrvPipePeekResponse();
    
            // Verify initial state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Given
            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SecurityBlobTest.java

            data[0] = 99;
            assertFalse(original.equals(copy), "After mutation, original should not equal previous clone");
    
            // Ensure arrays are independent: mutate clone's buffer via getter
            copy.get()[1] = 77;
            assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		}
    		if !globalEndpoints.HTTPS() && globalIsTLS {
    			logger.Fatal(config.ErrCertsAndHTTPEndpoints(nil), "Unable to start the server")
    		}
    	}
    
    	var getCert certs.GetCertificateFunc
    	if globalTLSCerts != nil {
    		getCert = globalTLSCerts.GetCertificate
    	}
    
    	// Check for updates in non-blocking manner.
    	go func() {
    		if !globalServerCtxt.Quiet && !globalInplaceUpdateDisabled {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  9. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            }
        }
    
        private void appendJvmStats(final StringBuilder buf) {
            buf.append("\"jvm\":{");
            final JvmStats jvmStats = JvmStats.jvmStats();
            final Mem mem = jvmStats.getMem();
            buf.append("\"memory\":{");
            buf.append("\"heap\":{");
            append(buf, "used", () -> mem.getHeapUsed().getBytes()).append(',');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertNotNull(e.getMessage()); // Should have an error message
        }
    
        @Test
        void testGetters() {
            // Simple test for getter methods
            NtlmContext context = new NtlmContext(mockAuth, true);
            assertFalse(context.isEstablished());
            assertNull(context.getServerChallenge());
            assertNull(context.getSigningKey());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top