Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,870 for getC (0.02 sec)

  1. src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java

        /**
         * Checks if the registration was successful.
         *
         * @return true if successful
         */
        public boolean isSuccess() {
            return returnCode == 0;
        }
    
        /**
         * Gets a human-readable error description.
         *
         * @return the error description
         */
        public String getError() {
            return error != null ? error : "Error code: " + returnCode;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            // Get password fields using reflection
            Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password");
            passwordField.setAccessible(true);
    
            char[] originalPassword = (char[]) passwordField.get(authenticator);
            char[] clonedPassword = (char[]) passwordField.get(cloned);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ResourceManagerTest.java

            assertNotNull(stats);
            assertTrue((long) stats.get("totalAllocated") >= 2);
            assertTrue((long) stats.get("totalReleased") >= 1);
            assertNotNull(stats.get("activeResources"));
            assertNotNull(stats.get("closedResources"));
        }
    
        @Test
        @DisplayName("Test get active resources")
        void testGetActiveResources() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. tests/lru_test.go

    	lru.Add("key1", 1)
    	lru.Add("key1", 2)
    
    	if value, ok := lru.Get("key1"); !ok || value != 2 {
    		t.Errorf("Expected value to be updated to 2, got %v", value)
    	}
    }
    
    func TestLRU_Add_NewKey_AddsEntry(t *testing.T) {
    	lru := lru.NewLRU[string, int](10, nil, time.Hour)
    	lru.Add("key1", 1)
    
    	if value, ok := lru.Get("key1"); !ok || value != 1 {
    		t.Errorf("Expected key1 to be added with value 1, got %v", value)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/pager/SearchLogPager.java

            accessType = null;
            logType = LOG_TYPE_SEARCH;
    
        }
    
        /**
         * Gets the default current page number.
         *
         * @return The default current page number
         */
        protected int getDefaultCurrentPageNumber() {
            return DEFAULT_CURRENT_PAGE_NUMBER;
        }
    
        /**
         * Gets the total number of records matching the search criteria.
         *
         * @return The total record count
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

                    resList.add(elem);
                }
            }
            return resList;
        }
    
        protected static List<Map<String, Object>> readLogItems(final String apiName) {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get("/api/admin/" + apiName + "/logs").asString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/BadWordPager.java

            createdTime = null;
            versionNo = null;
    
        }
    
        /**
         * Gets the default current page number.
         * @return The default current page number.
         */
        protected int getDefaultCurrentPageNumber() {
            return DEFAULT_CURRENT_PAGE_NUMBER;
        }
    
        /**
         * Gets the total number of records.
         * @return The total record count.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(UnsignedLong.ZERO, ArbitraryInstances.get(UnsignedLong.class));
        assertEquals(0, ArbitraryInstances.get(BigDecimal.class).intValue());
        assertEquals(0, ArbitraryInstances.get(BigInteger.class).intValue());
        assertEquals("", ArbitraryInstances.get(String.class));
        assertEquals("", ArbitraryInstances.get(CharSequence.class));
        assertEquals(SECONDS, ArbitraryInstances.get(TimeUnit.class));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if (this.next != null) {
                this.next.setDigest(digest);
            }
        }
    
        /**
         * Gets the status code for this message.
         *
         * @return the status
         */
        public final int getStatus() {
            return this.status;
        }
    
        /**
         * Gets the session identifier for this message.
         *
         * @return the sessionId
         */
        public long getSessionId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/AllocInfo.java

     *
     * @author mbechler
     */
    public interface AllocInfo extends FileSystemInformation {
    
        /**
         * Gets the total capacity of the allocation.
         *
         * @return total capacity
         */
        long getCapacity();
    
        /**
         * Gets the free space available.
         *
         * @return free space
         */
        long getFree();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top