Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for resets (0.09 sec)

  1. src/main/java/jcifs/util/transport/Response.java

         * @return the message timeout
         */
        Long getExpiration();
    
        /**
         * Sets the expiration time for this response.
         *
         * @param exp the message timeout to set
         */
        void setExpiration(Long exp);
    
        /**
         * Resets this response to its initial state.
         */
        void reset();
    
        /**
         * Gets the exception associated with this response.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         */
        void setExtendedSecurity(boolean extendedSecurity);
    
        /**
         * Sets the session ID.
         *
         * @param sessionId the session ID to set
         */
        void setSessionId(long sessionId);
    
        /**
         * Resets this message to its initial state.
         */
        void reset();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        @Test
        @DisplayName("Test reset() method resets transaction state")
        void testReset() {
            // Modify state
            transaction.nextElement();
    
            // Reset
            transaction.reset();
    
            // Verify state is reset
            assertTrue(transaction.hasMoreElements(), "hasMoreElements should be true after reset");
        }
    
        @Test
        @DisplayName("Test reset(int, String) method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         */
        public long getNextSequenceNumber() {
            return sequenceNumber.incrementAndGet();
        }
    
        /**
         * Updates the heartbeat timestamp to current time and resets failure count.
         */
        public void updateHeartbeat() {
            this.lastHeartbeat = System.currentTimeMillis();
            this.heartbeatFailures = 0;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertEquals("", blob.toString(), "toString() should be empty for empty buffer");
        }
    
        // Ensures set(null) resets the buffer to empty and does not NPE
        @Test
        @DisplayName("set(null) resets to empty")
        void set_null_resetsToEmpty() {
            // Arrange
            SecurityBlob blob = new SecurityBlob(new byte[] { 1, 2, 3 });
    
            // Act
            blob.set(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertFalse(auth.isAnonymous());
            assertFalse(auth.isGuest());
        }
    
        @ParameterizedTest
        @EnumSource(SubjectVariant.class)
        @DisplayName("getSubject: caches results and refresh resets cache")
        void testGetSubjectLoginFailuresCacheAndRefresh(SubjectVariant variant) throws Exception {
            JAASAuthenticator auth = buildAuthenticator(variant);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MD4.java

        @Override
        public Object clone() {
            return new MD4(this);
        }
    
        // JCE methods
        //...........................................................................
    
        /**
         * Resets this object disregarding any temporary data present at the
         * time of the invocation of this call.
         */
        @Override
        public void engineReset() {
            // initial values of MD4 i.e. A, B, C, D
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            final NdrBuffer nb = new NdrBuffer(buf, start);
            nb.index = idx;
            nb.deferred = deferred;
            return nb;
        }
    
        /**
         * Resets the buffer position to the start.
         */
        public void reset() {
            this.index = start;
            length = 0;
            deferred = this;
        }
    
        /**
         * Returns the current index position in the buffer.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Test multiple resets to ensure state is properly maintained
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            for (int i = 1; i <= 5; i++) {
                int newResumeKey = i * 1000;
                String newFilename = "file" + i + ".txt";
    
                trans2FindNext2.reset(newResumeKey, newFilename);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. cmd/admin-handlers_test.go

    		t.Errorf("Expected to succeed but failed with %d", rec.Code)
    	}
    
    	results := madmin.InfoMessage{}
    	err = json.NewDecoder(rec.Body).Decode(&results)
    	if err != nil {
    		t.Fatalf("Failed to decode set config result json %v", err)
    	}
    
    	if results.Region != globalMinioDefaultRegion {
    		t.Errorf("Expected %s, got %s", globalMinioDefaultRegion, results.Region)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top