- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,147 for tcount (0.11 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
// When int result = instance.readParameterWordsWireFormat(buffer, 0); // Then assertEquals(8, result); assertEquals(0xffffL, instance.getCount()); } /** * Test of readParameterWordsWireFormat with zero count */ @Test public void testReadParameterWordsWireFormatZeroCount() { // Given byte[] buffer = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 };Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java
private long count; /** * Constructs a write response for SMB1 protocol. * * @param config the configuration for this SMB session */ public SmbComWriteResponse(final Configuration config) { super(config); } /** * Gets the number of bytes written. * * @return the count of bytes written */ public long getCount() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java
private long count; /** * Constructs a write response for SMB1 protocol. * * @param config the configuration for this SMB session */ public SmbComWriteAndXResponse(final Configuration config) { super(config); } /** * Gets the number of bytes written. * * @return the count of bytes written */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
cmd/format-erasure_test.go
for _, hash := range formatHashes { if hash == "" { continue } formatCountMap[hash]++ } maxHash := "" maxCount := 0 for hash, count := range formatCountMap { if count > maxCount { maxCount = count maxHash = hash } } if maxCount < len(formats)/2 { return nil, errErasureReadQuorum } for i, hash := range formatHashes { if hash == maxHash {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.7K bytes - Click Count (0) -
tests/associations_has_many_test.go
CheckPet(t, pets[0], *user.Pets[0]) if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 { t.Fatalf("should only find one pets, but got %v", count) } if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 { t.Fatalf("should only find no pet with invalid conditions, but got %v", count) } // Count AssertAssociationCount(t, user, "Pets", 2, "")
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multisets.java
private final int count; ImmutableEntry(@ParametricNullness E element, int count) { this.element = element; this.count = count; checkNonnegative(count, "count"); } @Override @ParametricNullness public final E getElement() { return element; } @Override public final int getCount() { return count; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multisets.java
private final int count; ImmutableEntry(@ParametricNullness E element, int count) { this.element = element; this.count = count; checkNonnegative(count, "count"); } @Override @ParametricNullness public final E getElement() { return element; } @Override public final int getCount() { return count; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
} @CanIgnoreReturnValue @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; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 33.9K bytes - Click Count (0) -
tests/associations_test.go
. "gorm.io/gorm/utils/tests" ) func AssertAssociationCount(t *testing.T, data interface{}, name string, result int64, reason string) { if count := DB.Model(data).Association(name).Count(); count != result { t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count) } var newUser User if user, ok := data.(User); ok { DB.Find(&newUser, "id = ?", user.ID) } else if user, ok := data.(*User); ok {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java
private int count; private int remaining; /** * Creates a new SMB2 write response. * * @param config the CIFS configuration */ public Smb2WriteResponse(final Configuration config) { super(config); } /** * Returns the number of bytes written. * * @return the count */ public final int getCount() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0)