- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 255 for lens (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/prepared_stmt_test.go
// otherwise, ok will be false and conn will be nil. conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB) // Get the number of statement keys stored in the PreparedStmtDB. lens := len(conn.Stmts.Keys()) // Check if the number of stored statement keys is 0. if lens == 0 { // If the number is 0, it means there are no statements stored in the LRU cache. // The test fails and an error message is output. t.Fatalf("lru should not be empty")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
std::unique_ptr<const void*[]>* ptrs, std::unique_ptr<size_t[]>* lens) { ptrs->reset(new const void*[v.size()]); lens->reset(new size_t[v.size()]); for (size_t i = 0; i < v.size(); ++i) { (*ptrs)[i] = v[i].data(); (*lens)[i] = v[i].size(); } } class CApiColocationTest : public ::testing::Test { protected:Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
assertFalse(len2.matches(c)); } assertTrue(len3.matches('a')); assertTrue(len3.matches('b')); assertTrue(len3.matches('c')); for (char c = 'd'; c < 'z'; c++) { assertFalse(len3.matches(c)); } assertTrue(len4.matches('a')); assertTrue(len4.matches('b')); assertTrue(len4.matches('c')); assertTrue(len4.matches('d'));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
return errOpen } counterCrypt(&g.cipher, out, ciphertext, &counter) return nil } func gcmLengths(len0, len1 uint64) [16]byte { return [16]byte{ byte(len0 >> 56), byte(len0 >> 48), byte(len0 >> 40), byte(len0 >> 32), byte(len0 >> 24), byte(len0 >> 16), byte(len0 >> 8), byte(len0), byte(len1 >> 56), byte(len1 >> 48), byte(len1 >> 40), byte(len1 >> 32), byte(len1 >> 24), byte(len1 >> 16), byte(len1 >> 8), byte(len1), } } golang.org/fips140@v1.26.0/fips140/v1.26.0/aes/gcm/gcm_ppc64x.s // Copyright 2019 The...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
return errOpen } counterCrypt(&g.cipher, out, ciphertext, &counter) return nil } func gcmLengths(len0, len1 uint64) [16]byte { return [16]byte{ byte(len0 >> 56), byte(len0 >> 48), byte(len0 >> 40), byte(len0 >> 32), byte(len0 >> 24), byte(len0 >> 16), byte(len0 >> 8), byte(len0), byte(len1 >> 56), byte(len1 >> 48), byte(len1 >> 40), byte(len1 >> 32), byte(len1 >> 24), byte(len1 >> 16), byte(len1 >> 8), byte(len1), } } golang.org/fips140@v1.0.0-c2097c7c/fips140/v1.0.0-c2097c7c/aes/gcm/gcm_ppc64x.s // Copyright...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* entities such as devices or pipes, in which case we must fall back on comparing the bytes * directly. */ long len1 = file1.length(); long len2 = file2.length(); if (len1 != 0 && len2 != 0 && len1 != len2) { return false; } return asByteSource(file1).contentEquals(asByteSource(file2)); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
internal/hash/crc.go
gf2MatrixSquare(odd, even) // apply len2 zeros to crc1 (first square will put the operator for one // zero byte, eight zero bits, in even) crc1n := uint64(crc1) for { // apply zeros operator for this bit of len2 gf2MatrixSquare(even, odd) if len2&1 != 0 { crc1n = gf2MatrixTimes(even, crc1n) } len2 >>= 1 // if no more bits set, then done if len2 == 0 { break }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 5.8K bytes - Click Count (0) -
internal/bpool/bpool_test.go
bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more) bp.Put(make([]byte, width)) // wrong capacity is rejected (very less) if len(bp.c) > 0 { t.Fatal("bytepool should have rejected invalid packets") } // Try putting a short slice into pool bp.Put(make([]byte, bp.w, bp.wcap)[:2]) if len(bp.c) != 1 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MoreFiles.java
* directly. */ ByteSource source1 = asByteSource(path1); ByteSource source2 = asByteSource(path2); long len1 = source1.sizeIfKnown().or(0L); long len2 = source2.sizeIfKnown().or(0L); if (len1 != 0 && len2 != 0 && len1 != len2) { return false; } return source1.contentEquals(source2); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link SimpleTimeLimiter}. * * @author kevinb * @author Jens Nyman */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class SimpleTimeLimiterTest extends TestCase { private static final long DELAY_MS = 50; private static final long ENOUGH_MS = 10000;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 9.4K bytes - Click Count (0)