Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 697 for _count (1.14 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                                session.release();
                            }
                        }
                    } catch (Exception e) {
                        if (!e.getMessage().contains("Usage count dropped below zero")) {
                            exceptions.add(e);
                        }
                    } finally {
                        endLatch.countDown();
                    }
                });
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. tests/soft_delete_test.go

    		t.Errorf("Should find soft deleted record with Unscoped, but got err %s", err)
    	}
    
    	count = 0
    	if DB.Unscoped().Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
    		t.Errorf("Count soft deleted record, expects: %v, count: %v", 1, count)
    	}
    
    	age = 0
    	if DB.Unscoped().Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        }
    
        // Test getBucketOrder with count.desc
        public void test_getBucketOrder_countDesc() {
            facetInfo.sort = "count.desc";
            BucketOrder order = facetInfo.getBucketOrder();
            assertNotNull(order);
            assertEquals(BucketOrder.count(false), order);
        }
    
        // Test getBucketOrder with count.asc
        public void test_getBucketOrder_countAsc() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. tests/named_polymorphic_test.go

    	}
    
    	// clear to omit Toy.ID in count
    	hamster2.PreferredToy = Toy{}
    	hamster2.OtherToy = Toy{}
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 1 {
    		t.Errorf("Hamster's preferred toy count should be 1")
    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's other toy count should be 1")
    	}
    
    	// Query
    	hamsterToy := Toy{}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify max setup count is written at position 0
            assertEquals(2, dst[0]);
    
            // Verify reserved bytes
            assertEquals(0, dst[1]);
            assertEquals(0, dst[2]);
    
            // Verify total parameter count (4 bytes at position 3)
            assertEquals(100, SMBUtil.readInt4(dst, 3));
    
            // Verify total data count (4 bytes at position 7)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

      @Override
      public int setCount(@ParametricNullness E element, int count) {
        checkNonnegative(count, "count");
        if (!range.contains(element)) {
          checkArgument(count == 0);
          return 0;
        }
    
        AvlNode<E> root = rootReference.get();
        if (root == null) {
          if (count > 0) {
            add(element, count);
          }
          return 0;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            dst[dstIndex] = (byte) 0x01; /* BufferFormat */
            dstIndex++;
            SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(this.b, this.off, dst, dstIndex, this.count);
            dstIndex += this.count;
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

      public void testAddOccurrences() {
        int originalCount = getMultiset().count(e0());
        assertEquals("old count", originalCount, getMultiset().add(e0(), 2));
        assertEquals("old count", originalCount + 2, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddSeveralTimes() {
        int originalCount = getMultiset().count(e0());
        assertEquals(originalCount, getMultiset().add(e0(), 2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    @NullUnmarked
    public class LocalCacheMapComputeTest extends TestCase {
      final int count = 10000;
      final String delimiter = "-";
      final String key = "key";
      Cache<String, String> cache;
    
      // helper
      private static void doParallelCacheOp(int count, IntConsumer consumer) {
        IntStream.range(0, count).parallel().forEach(consumer);
      }
    
      @Override
      public void setUp() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

       * Returns the number of {@code values} that are {@code true}.
       *
       * @since 16.0
       */
      public static int countTrue(boolean... values) {
        int count = 0;
        for (boolean value : values) {
          if (value) {
            count++;
          }
        }
        return count;
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top