- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 578 for rounds (0.08 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
int size = request.size(); // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40) // size8 rounds up to nearest multiple of 8 int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40; int expectedSize = (expectedRawSize + 7) & ~7; // Round up to nearest 8 assertEquals(expectedSize, size); } @Test @DisplayName("Test size method with input buffer")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
guava/src/com/google/common/math/LongMath.java
checkNotNull(mode); long div = p / q; // throws if q == 0 long rem = p - q * div; // equals p % q if (rem == 0) { return div; } /* * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to * deal with the cases where rounding towards 0 is wrong, which typically depends on the sign of * p / q. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 03 21:01:09 GMT 2025 - 46.8K bytes - Click Count (0) -
src/archive/tar/common.go
func alignSparseEntries(src []sparseEntry, size int64) []sparseEntry { dst := src[:0] for _, s := range src { pos, end := s.Offset, s.endOffset() pos += blockPadding(+pos) // Round-up to nearest blockSize if end != size { end -= blockPadding(-end) // Round-down to nearest blockSize } if pos < end { dst = append(dst, sparseEntry{Offset: pos, Length: end - pos}) } } return dst }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
key directly to its instructions. type blockExpanded struct { rounds int // Round keys, where only the first (rounds + 1) × (128 ÷ 32) words are used. enc [60]uint32 dec [60]uint32 } const ( // AES-128 has 128-bit keys, 10 rounds, and uses 11 128-bit round keys // (11×128÷32 = 44 32-bit words). // AES-192 has 192-bit keys, 12 rounds, and uses 13 128-bit round keys // (13×128÷32 = 52 32-bit words). // AES-256 has 256-bit keys, 14 rounds, and uses 15 128-bit round keys // (15×128÷32 = 60 32-bit words)....Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
key directly to its instructions. type blockExpanded struct { rounds int // Round keys, where only the first (rounds + 1) × (128 ÷ 32) words are used. enc [60]uint32 dec [60]uint32 } const ( // AES-128 has 128-bit keys, 10 rounds, and uses 11 128-bit round keys // (11×128÷32 = 44 32-bit words). // AES-192 has 192-bit keys, 12 rounds, and uses 13 128-bit round keys // (13×128÷32 = 52 32-bit words). // AES-256 has 256-bit keys, 14 rounds, and uses 15 128-bit round keys // (15×128÷32 = 60 32-bit words)....Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
guava/src/com/google/common/reflect/TypeResolver.java
if (type == null) { Type[] bounds = var.getBounds(); if (bounds.length == 0) { return var; } Type[] resolvedBounds = new TypeResolver(forDependants).resolveTypes(bounds); /* * We'd like to simply create our own TypeVariable with the newly resolved bounds. There's
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
/** * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null * otherwise. */ private static @Nullable Type subtypeOfComponentType(Type[] bounds) { for (Type bound : bounds) { Type componentType = getComponentType(bound); if (componentType != null) { // Only the first bound can be a class or array. // Bounds after the first can only be interfaces.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
assertTrue(result.length > 0, "Result should not be empty"); // Verify round-trip conversion String roundTrip = new String(result, StandardCharsets.UTF_16LE); assertEquals(UNICODE_STRING, roundTrip, "Round-trip conversion should preserve Unicode"); } @Test @DisplayName("getASCIIBytes should encode string as ASCII")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
doc/go_spec.html
(or even be just another bound type parameter). In a process of repeated simplification, the bound type parameters in each type argument are substituted with the respective type arguments for those type parameters until each type argument is free of bound type parameters. </p> <p> If type arguments contain cyclic references to themselves through bound type parameters, simplification and thus type inference fails.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
android/guava/src/com/google/common/reflect/TypeResolver.java
if (type == null) { Type[] bounds = var.getBounds(); if (bounds.length == 0) { return var; } Type[] resolvedBounds = new TypeResolver(forDependants).resolveTypes(bounds); /* * We'd like to simply create our own TypeVariable with the newly resolved bounds. There's
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0)