Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 788 for umount (0.06 sec)

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

        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateWithSize() {
        Multiset<String> multiset = HashMultiset.create(50);
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
      }
    
      public void testCreateFromIterable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-replication.go

    	m.Set(replicationAverageQueuedCount, float64(qt.Avg.Count))
    	m.Set(replicationMaxQueuedBytes, float64(qt.Max.Bytes))
    	m.Set(replicationMaxQueuedCount, float64(qt.Max.Count))
    	m.Set(replicationLastMinuteQueuedBytes, float64(qt.Curr.Bytes))
    	m.Set(replicationLastMinuteQueuedCount, float64(qt.Curr.Count))
    
    	qa := qs.ActiveWorkers
    	m.Set(replicationAverageActiveWorkers, float64(qa.Avg))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. tests/main_test.go

    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	var count1, count2 int64
    	DB.Model(&User{}).Count(&count1)
    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	DB.Model(&User{}).Count(&count2)
    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/pager/FileAuthPager.java

         * Gets the total number of records in the result set.
         *
         * @return the total record count
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records in the result set.
         *
         * @param allRecordCount the total record count
         */
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            shareInfo2.type = 1;
            shareInfo2.remark = "Remark for Share2";
    
            // Create ShareInfoCtr1 with the shares
            srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1();
            shareInfoCtr1.count = 2;
            shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo1, shareInfo2 };
    
            // Inject the ShareInfoCtr1 using reflection
            Field infoField = srvsvc.ShareEnumAll.class.getDeclaredField("info");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/pager/CharMappingPager.java

            return 1;
        }
    
        /**
         * Gets the total number of records.
         * @return The total record count.
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         * @param allRecordCount The total record count.
         */
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
            assertTrue(session.isInUse(), "New session should be in use due to transport acquisition");
    
            // Test additional acquire
            session.acquire();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    baseDir = tempDir;
                    // Count expired files
                    int count = 0;
                    File[] dirs = baseDir.listFiles();
                    if (dirs != null) {
                        for (File dir : dirs) {
                            if (dir.isDirectory() && dir.getName().startsWith("_")) {
                                count++;
                            }
                        }
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            public long getFavoriteCount(String url) {
                return favoriteCount;
            }
    
            public void setClickCount(int count) {
                this.clickCount = count;
            }
    
            public void setFavoriteCount(long count) {
                this.favoriteCount = count;
            }
        }
    
        private static class TestLanguageHelper extends LanguageHelper {
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  10. cmd/bucket-targets.go

    			updateInProgress: true,
    			count:            v.count + 1,
    			bucket:           bucket,
    		}
    	}
    }
    
    func (sys *BucketTargetSys) markRefreshDone(bucket, arn string) {
    	sys.aMutex.Lock()
    	defer sys.aMutex.Unlock()
    	if v, ok := sys.arnErrsMap[arn]; ok {
    		sys.arnErrsMap[arn] = arnErrs{
    			updateInProgress: false,
    			count:            v.count,
    			bucket:           bucket,
    		}
    	}
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top