- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 884 for ZERO (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
) { exchange.noNewExchangesOnConnection() } if ((code == 204 || code == 205) && response.body.contentLength() > 0L) { throw ProtocolException( "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}", ) } return response } catch (e: IOException) { if (sendRequestException != null) { sendRequestException.addSuppressed(e)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
Smb2LeaseKey key = new Smb2LeaseKey(testBytes); assertArrayEquals(testBytes, key.getKey()); assertFalse(key.isZero()); } @Test @DisplayName("Should create zero lease key") void testZeroLeaseKey() { byte[] zeroBytes = new byte[16]; Arrays.fill(zeroBytes, (byte) 0); Smb2LeaseKey key = new Smb2LeaseKey(zeroBytes); assertTrue(key.isZero());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java
assertEquals(Relation.GREATER_THAN_OR_EQUAL_TO.toString(), result.getAllRecordCountRelation()); } /** * Test SearchResult with zero record count. */ @Test public void test_zeroRecordCount() { final SearchResult result = SearchResult.create().allRecordCount(0).build(); assertEquals(0, result.getAllRecordCount());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.2K bytes - Click Count (0) -
tests/update_test.go
} if err := DB.Create(&users).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } else if user.ID == 0 { t.Fatalf("user's primary value should not zero, %v", user.ID) } else if user.UpdatedAt.IsZero() { t.Fatalf("user's updated at should not zero, %v", user.UpdatedAt) } lastUpdatedAt = user.UpdatedAt if err := DB.Model(user).Update("Age", 10).Error; err != nil { t.Errorf("errors happened when update: %v", err)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
import java.util.Arrays; import java.util.Collection; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableMultiset} with zero or more elements. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serializationCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacTest.java
assertThrows(Exception.class, () -> new Pac(pacData, keys)); } @Test void testZeroBufferCount() throws IOException { // Test PAC with zero buffers (missing required buffers) ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, 0); // bufferCount = 0
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
bufferIndex += 2; setupCount = buffer[bufferIndex] & 0xFF; bufferIndex += 2; if ((setupCount != 0) && (LogStream.level > 2)) { log.println("setupCount is not zero: " + setupCount); } return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { pad = pad1 = 0; final int n;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.9K bytes - Click Count (0) -
internal/bucket/lifecycle/evaluator_test.go
{Action: NoneAction}, } for i := range wantEvents { if gotEvents[i].Action != wantEvents[i].Action { t.Fatalf("test-%d: got %v, want %v", i+1, gotEvents[i], wantEvents[i]) } } // Test with zero versions events, err := evaluator.Eval(nil) if len(events) != 0 || err != nil { t.Fatal("expected no events nor error") } } func TestEmptyEvaluator(t *testing.T) { var objs []ObjectOptsCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
assertEquals(expected, format.formatProgress(progressedSize, -1L)); } static Stream<Arguments> progressedSizeWithSizeTestData() { return Stream.of( // Zero test Arguments.of(0L, 0L, "0 B"), // Bytes tests Arguments.of(0L, 800L, "0/800 B"), Arguments.of(400L, 800L, "400/800 B"),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 14.9K bytes - Click Count (0) -
internal/pubsub/pubsub.go
func (ps *PubSub[T, M]) Subscribers() int32 { return atomic.LoadInt32(&ps.numSubscribers) } // New inits a PubSub system with a limit of maximum // subscribers unless zero is specified func New[T Maskable, M Maskable](maxSubscribers int32) *PubSub[T, M] { return &PubSub[T, M]{maxSubscribers: maxSubscribers}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 06 16:57:30 GMT 2024 - 5.2K bytes - Click Count (0)