- Sort Score
- Num 10 results
- Language All
Results 1131 - 1140 of 3,128 for rint (0.02 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbSession.java
} } } final int max = Math.min(dc_list.length, LOOKUP_RESP_LIMIT); for (int j = 0; j < max; j++) { final int i = dc_list_counter++ % max; if (dc_list[i] != null) { try { return interrogate(dc_list[i]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
byte[] domainBytes = "DOMAIN\0".getBytes("US-ASCII"); // Use reflection to set protected byteCount field int byteCountValue = 8 + domainBytes.length; setByteCount(response, byteCountValue); byte[] buffer = new byte[byteCountValue]; int bufferIndex = 0; byte[] key = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; System.arraycopy(key, 0, buffer, bufferIndex, key.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
*/ InputStream getInputStream() throws IOException; /** * Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just an * empty string. The intention is to assist users during error reporting. * * @return A user-friendly hint about the location of the source, never {@code null}. */ String getLocation();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Strings.java
} // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length); int templateStart = 0; int i = 0; while (i < args.length) { int placeholderStart = template.indexOf("%s", templateStart); if (placeholderStart == -1) { break; } builder.append(template, templateStart, placeholderStart);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
@DisplayName("SmbException Tests") class SmbExceptionTest extends BaseTest { @Test @DisplayName("Should create SmbException with NT status code") void testSmbExceptionWithNTStatus() { // Given int ntStatus = NtStatus.NT_STATUS_ACCESS_DENIED; // When SmbException exception = new SmbException(ntStatus, false); // Then assertNotNull(exception);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
// setError(int, String) Method setErrorStringMethod = WebApiUtil.class.getMethod("setError", int.class, String.class); assertTrue("setError(int, String) should be static", java.lang.reflect.Modifier.isStatic(setErrorStringMethod.getModifiers()));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true); SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); int expectedSeconds = (int) (testTime / 1000L); int actualSeconds = SMBUtil.readInt4(dst, 0); assertEquals(expectedSeconds, actualSeconds); // Test when current time is in DST but test time is not
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ModifierUtil.java
public static boolean isPublicStaticFinal(final int modifier) { return isPublic(modifier) && isStatic(modifier) && isFinal(modifier); } /** * Checks if the specified modifier is public. * * @param modifier * the modifier to check * @return true if public, false otherwise */ public static boolean isPublic(final int modifier) { return Modifier.isPublic(modifier);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
} } @Override public void resolveSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID[] sids, final int offset, final int length) throws CIFSException { final ArrayList<SID> list = new ArrayList<>(sids.length); int si; synchronized (this.sidCache) { for (si = 0; si < length; si++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
public class StopwatchBenchmark { @Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 1.5K bytes - Click Count (0)