- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 600 for tozero (0.19 sec)
-
src/archive/zip/writer.go
offset: uint64(w.cw.count), } if strings.HasSuffix(fh.Name, "/") { // Set the compression method to Store to ensure data length is truly zero, // which the writeHeader method always encodes for the size fields. // This is necessary as most compression formats have non-zero lengths // even when compressing an empty string. fh.Method = Store fh.Flags &^= 0x8 // we will not write a data descriptor
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
- ? ({ void *__s = (s); __bzero (__s, n); __s; }) \ - : memset (s, c, n))) -# endif -# endif - -/* GCC < 3.0 optimizes memset(s, 0, n) but not bzero(s, n). - The optimization is broken before EGCS 1.1. - GCC 3.0+ has __builtin_bzero as well, but at least till GCC 3.4 - if it decides to call the library function, it calls memset - and not bzero. */ -# if __GNUC_PREREQ (2, 91)
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 42.9K bytes - Viewed (1) -
cmd/erasure.go
// Calc usage before := cache.Info.LastUpdate var err error cache, err = disk.NSScanner(ctx, cache, updates, healScanMode, nil) if err != nil { if !cache.Info.LastUpdate.IsZero() && cache.Info.LastUpdate.After(before) { scannerLogIf(ctx, cache.save(ctx, er, cacheName)) } else { scannerLogIf(ctx, err) } // This ensures that we don't close
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 06:32:14 GMT 2024 - 16K bytes - Viewed (1) -
src/archive/zip/reader.go
f.Modified = msdosModified if !modified.IsZero() { f.Modified = modified.UTC() // If legacy MS-DOS timestamps are set, we can use the delta between // the legacy and extended versions to estimate timezone offset. // // A non-UTC timezone is always used (even if offset is zero). // Thus, FileHeader.Modified.Location() == time.UTC is useful for
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
tests/create_test.go
} if user.ID == 0 { t.Errorf("user's primary key should has value after create, got : %v", user.ID) } if user.CreatedAt.IsZero() { t.Errorf("user's created at should be not zero") } if user.UpdatedAt.IsZero() { t.Errorf("user's updated at should be not zero") } var newUser User if err := DB.Where("id = ?", user.ID).First(&newUser).Error; err != nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Mar 19 03:50:28 GMT 2024 - 26.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
} // retainAll(empty) @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmpty() { expectReturnsFalse(empty); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmptyUnsupported() { expectReturnsFalseOrThrows(empty);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
) return choice to choice.fromDer(reader) } override fun toDer( writer: DerWriter, value: Pair<DerAdapter<*>, Any?>, ) { val (adapter, v) = value (adapter as DerAdapter<Any?>).toDer(writer, v) } override fun toString(): String = choices.joinToString(separator = " OR ") } } /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
Supplier<T> delegate, Duration duration) { checkNotNull(delegate); // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble. checkArgument( !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration); return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration)); } @VisibleForTesting
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0) -
internal/auth/credentials.go
s.WriteString(cred.SessionToken) } if !cred.Expiration.IsZero() && !cred.Expiration.Equal(timeSentinel) { s.WriteString("\n") s.WriteString(cred.Expiration.String()) } return s.String() } // IsExpired - returns whether Credential is expired or not. func (cred Credentials) IsExpired() bool { if cred.Expiration.IsZero() || cred.Expiration.Equal(timeSentinel) { return false }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 12:41:13 GMT 2024 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
Supplier<T> delegate, Duration duration) { checkNotNull(delegate); // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble. checkArgument( !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration); return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration)); } @VisibleForTesting
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.3K bytes - Viewed (0)