- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 2,280 for Length (0.06 seconds)
-
guava-tests/test/com/google/common/collect/ComparatorsTest.java
Optional<String> empty = Optional.empty(); Optional<String> abc = Optional.of("abc"); Optional<String> z = Optional.of("z"); Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length)); testComparator(comparator, empty, z, abc); // Just demonstrate that no explicit type parameter is required Comparator<Optional<String>> unused = emptiesFirst(naturalOrder()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 6.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java
} return object; } private static String propertyName(String methodName) { String propertyName = methodName.startsWith("is") ? methodName.substring("is".length()) : methodName.substring("get".length()); return propertyName.substring(0, 1).toLowerCase() + propertyName.substring(1); } public static class MutableBuildParams {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 7.7K bytes - Click Count (0) -
cmd/storage-rest-server.go
var tmp [4]byte _, err := io.ReadFull(respBody, tmp[:]) if err != nil { return err } length := binary.LittleEndian.Uint32(tmp[:]) n, err := io.CopyBuffer(w, io.LimitReader(respBody, int64(length)), buf) if err != nil { return err } if n != int64(length) { return io.ErrUnexpectedEOF } continue case 32: continue default:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length") void testInvalidProtocolIdLength() { // Protocol ID is a constant in transform header, not settable // Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
internal/s3select/jstream/decoder.go
String Number Boolean Array Object ) // MetaValue wraps a decoded interface value with the document // position and depth at which the value was parsed type MetaValue struct { Offset int Length int Depth int Value any ValueType ValueType } // KV contains a key and value pair parsed from a decoded object type KV struct { Key string `json:"key"` Value any `json:"value"` }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
* @param length the number of characters to use from the character array * @throws SAXException if a SAX error occurs during character processing */ @Override public void characters(final char[] ch, final int start, final int length) throws SAXException { final String text = new String(ch, start, length); if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
private final String[] decodingInputs = new String[INPUTS_COUNT]; @BeforeExperiment public void setUp() { Random rng = new Random(); for (int i = 0; i < encodingInputs.length; i++) { encodingInputs[i] = new byte[n]; rng.nextBytes(encodingInputs[i]); decodingInputs[i] = encoding.encoding.encode(encodingInputs[i]); } } @Benchmark public int encode(int reps) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
assertTrue(s.startsWith("SmbComSetInformationResponse[")); assertTrue(s.endsWith("]")); // Verify it contains superclass toString content assertTrue(s.length() > "SmbComSetInformationResponse[]".length()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for comparing the various {@link HashFunction functions} that we provide. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: The length of the byte array to hash. * <li>hashFunctionEnum: The {@link HashFunction} to use for hashing. * </ul> * * @author Kurt Alfred Kluever */ @NullUnmarked public class HashFunctionBenchmark {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for comparing the various {@link HashFunction functions} that we provide. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: The length of the byte array to hash. * <li>hashFunctionEnum: The {@link HashFunction} to use for hashing. * </ul> * * @author Kurt Alfred Kluever */ @NullUnmarked public class HashFunctionBenchmark {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.4K bytes - Click Count (0)