- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 909 for short (0.38 seconds)
-
android/guava/src/com/google/common/base/Defaults.java
} else if (type == char.class) { return (T) Character.valueOf('\0'); } else if (type == byte.class) { return (T) Byte.valueOf((byte) 0); } else if (type == short.class) { return (T) Short.valueOf((short) 0); } else if (type == int.class) { return (T) Integer.valueOf(0); } else if (type == long.class) { return (T) Long.valueOf(0L); } else if (type == float.class) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
when(mockFile.getType()).thenReturn(SmbConstants.TYPE_FILESYSTEM); // Capture the ReadAndX request; throw to short-circuit network doAnswer(inv -> { throw new SmbException("short-circuit"); }).when(mockTree) .send(any(jcifs.internal.CommonServerMessageBlockRequest.class),
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Defaults.java
} else if (type == char.class) { return (T) Character.valueOf('\0'); } else if (type == byte.class) { return (T) Byte.valueOf((byte) 0); } else if (type == short.class) { return (T) Short.valueOf((short) 0); } else if (type == int.class) { return (T) Integer.valueOf(0); } else if (type == long.class) { return (T) Long.valueOf(0L); } else if (type == float.class) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} public void testToArray_withConversion() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
"char" to "Char", "java.lang.Boolean" to "Boolean", "boolean" to "Boolean", "java.lang.Byte" to "Byte", "byte" to "Byte", "java.lang.Short" to "Short", "short" to "Short", "java.lang.Integer" to "Int", "int" to "Int", "java.lang.Long" to "Long", "long" to "Long", "java.lang.Float" to "Float", "float" to "Float",
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
entry.name.buffer = new short[] { 't', 'e', 's', 't' }; // When: Encoding entry entry.encode(mockNdrBuffer); // Then: Should encode all fields verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).enc_ndr_long(1); verify(mockNdrBuffer).enc_ndr_short((short) 4); verify(mockNdrBuffer).enc_ndr_short((short) 6);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.7K bytes - Click Count (0) -
container-tests/build.gradle.kts
|| (containerTests.isPresent && containerTests.get().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform", ) if (platform == "loom") { jvmArgs( "-Djdk.tracePinnedThreads=short", ) } val javaToolchains = project.extensions.getByType<JavaToolchainService>() javaLauncher.set(javaToolchains.launcherFor { languageVersion.set(JavaLanguageVersion.of(testJavaVersion)) }) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 1.3K bytes - Click Count (1) -
internal/bpool/bpool_test.go
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 { t.Fatal("bytepool should have accepted short slice with sufficient capacity") } b = bp.Get() if len(b) != width { t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) }
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) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeInt4(0x20, buffer, 56); // extFileAttributes SMBUtil.writeInt4(filenameLength, buffer, 60); // fileNameLength SMBUtil.writeInt4(0, buffer, 64); // eaSize // Write short name length and short name byte[] shortNameBytes = Strings.getUNIBytes(shortName); buffer[68] = (byte) shortNameBytes.length; // shortNameLength
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
*/ static boolean matchPattern(ArtifactRepository originalRepository, String pattern) { boolean result = false; String originalId = originalRepository.getId(); // simple checks first to short circuit processing below. if (WILDCARD.equals(pattern) || pattern.equals(originalId)) { result = true; } else { // process the list String[] repos = pattern.split(",");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8K bytes - Click Count (0)