- Sort Score
- Result 10 results
- Languages All
Results 1621 - 1630 of 2,802 for inst (0.02 sec)
-
src/main/java/jcifs/smb1/util/transport/Transport.java
* @param len the number of bytes to read * @return the number of bytes actually read * @throws IOException if an I/O error occurs */ public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException { int i = 0, n = -5; while (i < len) { n = in.read(b, off + i, len - i); if (n <= 0) { break; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
for (CharSource in : BROKEN_SOURCES) { int suppressed = runSuppressionFailureTest(in, newNormalCharSink()); assertEquals(0, suppressed); suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK); assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed); } for (CharSink out : BROKEN_SINKS) { int suppressed = runSuppressionFailureTest(newNormalCharSource(), out);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
public void testConcurrentSessionHandling() throws Exception { int sessionCount = 10; ExecutorService executor = Executors.newFixedThreadPool(5); CountDownLatch latch = new CountDownLatch(sessionCount); for (int i = 0; i < sessionCount; i++) { final int sessionIndex = i; executor.submit(() -> { try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertSame(buffer, ndrBuffer.getBuffer()); } @Test void testAlignWithValue() { // Align to 4-byte boundary with a fill value ndrBuffer.setIndex(1); int alignedBytes = ndrBuffer.align(4, (byte) 0xFF); assertEquals(3, alignedBytes); // Should advance by 3 bytes (1 -> 4) assertEquals(4, ndrBuffer.getIndex());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
@get:JvmName("size") val size: Int get() = namesAndValues.size / 2 @JvmName("-deprecated_size") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "size"), level = DeprecationLevel.ERROR, ) fun size(): Int = size /** Returns the field at `position`. */ fun name(index: Int): String = commonName(index)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
private String realm = null; /** The service principal name */ private String service = DEFAULT_SERVICE; /** The user credential lifetime */ private int userLifetime = GSSCredential.DEFAULT_LIFETIME; /** The security context lifetime */ private int contextLifetime = GSSContext.DEFAULT_LIFETIME; /** Flag indicating if fallback authentication is allowed */ private boolean canFallback = false;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
@Override public String getName() { return name; } @Override public int getType() { return 0; } @Override public int getAttributes() { return 0; } @Override public long createTime() { return 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Java8Compatibility.java
static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); } static void mark(Buffer b) { b.mark(); } static void position(Buffer b, int position) { b.position(position); } static void reset(Buffer b) { b.reset(); } private Java8Compatibility() {}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
/** * Default constructor. */ public CustomSizeValidator() { // Empty constructor } private int min = 0; private int max = Integer.MAX_VALUE; private String message; @Override public void initialize(final CustomSize constraintAnnotation) { final FessConfig fessConfig = ComponentUtil.getFessConfig();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); } public void testNewReferenceArray_withLength() throws Exception { int length = 42; AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(length); for (int i = 0; i < length; ++i) { assertEquals(null, refArray.get(i)); } assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(length)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0)