Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2951 - 2960 of 3,507 for INT (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        String keyToRemove = map.keySet().iterator().next();
        if (supportsRemove) {
          int initialSize = map.size();
          // var oldValue = map.get(keyToRemove);
          map.remove(keyToRemove);
          // This line doesn't hold - see the Javadoc comments above.
          // assertEquals(expectedValue, oldValue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 14:47:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

              }
            };
        Future<Integer> future =
            TestingExecutors.sameThreadScheduledExecutor().schedule(task, 10000, MILLISECONDS);
        assertTrue("Should run callable immediately", taskDone);
        assertEquals(6, (int) future.get());
      }
    
      public void testSameThreadScheduledExecutorWithException() throws InterruptedException {
        Runnable runnable =
            new Runnable() {
              @Override
              public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

        // Avoid expectEquals() here to delay reason manufacture until necessary.
        if (getList().size() != expectedList.size()) {
          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
          E expected = expectedList.get(i);
          E actual = getList().get(i);
          if (expected != actual && (expected == null || !expected.equals(actual))) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         *
         * @param crudMode the current CRUD mode
         * @param expectedMode the expected CRUD mode
         * @param dictId the dictionary ID for error handling
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

        }
    
        public void test_builder_multipleDocuments() {
            // Test adding multiple documents to builder
            SearchResult.SearchResultBuilder builder = SearchResult.create();
    
            for (int i = 0; i < 10; i++) {
                Map<String, Object> doc = new HashMap<>();
                doc.put("id", String.valueOf(i));
                doc.put("index", i);
                builder.addDocument(doc);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. src/archive/tar/strconv_test.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    		{(1 << 56) - 1, 8, true},
    		{-1 << 56, 8, true},
    		{(-1 << 56) - 1, 8, false},
    		{121654, 8, true},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

         */
        protected void processAllowedSIDs(final SmbFile file, final SID sid, final Set<SID> sidSet) {
            if (logger.isDebugEnabled()) {
                logger.debug("SID:{}", sid);
            }
            final int type = sid.getType();
            sidSet.add(sid);
            if (type == SID.SID_TYPE_DOM_GRP || type == SID.SID_TYPE_ALIAS) {
                try {
                    final CIFSContext context = file.getContext();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            Set<String> sessionIds = processHelper.getRunningSessionIdSet();
            assertNotNull(sessionIds);
            assertTrue(sessionIds.isEmpty());
        }
    
        public void test_destroyProcess_nonExistent() {
            int result = processHelper.destroyProcess("nonexistent");
            assertEquals(-1, result);
        }
    
        public void test_setProcessDestroyTimeout() {
            processHelper.setProcessDestroyTimeout(20);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
                when(mockSession.getConfig()).thenReturn(mockConfig);
    
                for (int i = 0; i < 10; i++) {
                    assertSame(mockConfig, mockSession.getConfig(), "getConfig should return same result on call " + i);
                }
    
                verify(mockSession, times(10)).getConfig();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp);
        }
    
        // Prepare SMB1 flow with a given response
        private void setupSmb1(NotifyResponse resp, int fid) throws Exception {
            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top