- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 3,407 for rint (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
String filename = "a\\test\\path.txt"; int informationLevel = 0x0102; Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator) byte[] dst = new byte[2 + 4 + filename.length() + 1]; // When int bytesWritten = trans.writeParametersWireFormat(dst, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
} @Override public int getMinorVersion() { return minorVersion != null ? minorVersion : 0; } @Override public int getIncrementalVersion() { return incrementalVersion != null ? incrementalVersion : 0; } @Override public int getBuildNumber() { return buildNumber != null ? buildNumber : 0; } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
// Find all element positions int modelVersionIndex = xmlOutput.indexOf("<modelVersion>"); int groupIdIndex = xmlOutput.indexOf("<groupId>"); int nameIndex = xmlOutput.indexOf("<name>"); int descriptionIndex = xmlOutput.indexOf("<description>"); int urlIndex = xmlOutput.indexOf("<url>"); int licensesIndex = xmlOutput.indexOf("<licenses>"); int propertiesIndex = xmlOutput.indexOf("<properties>");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 31.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
} /** * Returns a new array with the specified int value appended to the end of the int array. * * @param array * the array. Must not be {@literal null} * @param value * the value to add * @return a new array with the value appended */ public static int[] add(final int[] array, final int value) { assertArgumentNotNull("array", array);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
private static byte[] toByteArray(int... bytes) { byte[] realBytes = new byte[bytes.length]; for (int i = 0; i < bytes.length; i++) { realBytes[i] = (byte) bytes[i]; } return realBytes; } private static void assertWellFormed(int... bytes) { assertTrue(Utf8.isWellFormed(toByteArray(bytes))); } private static void assertNotWellFormed(int... bytes) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
@Override public final void add(int index, E element) { throw new UnsupportedOperationException(); } @Override public final E remove(int index) { throw new UnsupportedOperationException(); } @Override public UnmodifiableIterator<E> iterator() { return listIterator(); } @Override public ImmutableList<E> subList(int fromIndex, int toIndex) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
cmd/erasure-metadata.go
} func commonParity(parities []int, defaultParityCount int) int { N := len(parities) occMap := make(map[int]int) for _, p := range parities { occMap[p]++ } var maxOcc, cparity int for parity, occ := range occMap { if parity == -1 { // Ignore non defined parity continue } readQuorum := N - parity
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
} /** * Constant-time array copy to prevent timing attacks */ private void constantTimeCopy(byte[] src, int srcPos, byte[] dest, int destPos, int length) { // Simple constant-time copy - always process all bytes for (int i = 0; i < length; i++) { dest[destPos + i] = src[srcPos + i]; } } /** * Decrypt an SMB2 message *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
assertEquals(123, Config.getInt(testProperties, "test.int", 0)); assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456)); assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789)); } @Test @DisplayName("Should get integer property") void testGetInt() { assertEquals(123, Config.getInt(testProperties, "test.int"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0)