- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 994 for calc (0.02 sec)
-
android/guava/src/com/google/common/primitives/Ints.java
* @param max the upper bound (inclusive) of the range to constrain {@code value} to * @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ // A call to bare "min" or "max" would resolve to our varargs method, not to any static import. @SuppressWarnings("StaticImportPreferred") public static int constrainToRange(int value, int min, int max) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* try-with-resources. To get the equivalent of that, you must wrap the above code in <i>another</i> * try block in order to catch any exception that may be thrown (including from the call to {@code * close()}). * * <p>This pattern ensures the following: * * <ul> * <li>Each {@code Closeable} resource that is successfully registered will be closed later.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
* Null row keys, columns keys, and values are not supported. * * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer, * since an iteration across all row keys occurs. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Act assertTrue(it.hasNext()); assertEquals("one", it.next().getName()); // consume initial // Next call should handle CIFSException and close iterator assertFalse(it.hasNext()); // After error, hasNext should return false // Assert verify(tree, times(1)).release(); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
public static class NetrDfsEnumEx extends DcerpcMessage { @Override public int getOpnum() { return 0x15; } /** * Return value from the RPC call */ public int retval; /** * DFS name to enumerate */ public String dfs_name; /** * Information level for enumeration */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
when(mockSession.getConfig()).thenReturn(mockConfig); for (int i = 0; i < 10; i++) { assertSame(mockConfig, mockSession.getConfig(), "getConfig should return same result on call " + i); } verify(mockSession, times(10)).getConfig(); } @Test @DisplayName("Should handle concurrent access patterns")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
// Set the length field that will be checked by ServerMessageBlock2Request.encode() int calculatedLength = testEncodedLength; setLength(calculatedLength); // Now call the ServerMessageBlock2Request's encode which will do the validation int exp = size(); int actual = getLength(); if (exp != actual) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
} @Test public void testInitMultipleTimes() throws IOException { // Test multiple initialization calls converter.init(); assertTrue(testConverter.isInitialized()); // Call init again converter.init(); assertTrue(testConverter.isInitialized()); assertEquals(2, testConverter.getInitCount()); } @Test public void testInitWithException() {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
LinkedList sorted; ListIterator iter; final SimpleDateFormat sdf = new SimpleDateFormat("MM/d/yy h:mm a"); final GregorianCalendar cal = new GregorianCalendar(); sdf.setCalendar(cal); dirents = dir.listFiles(); if (LogStream.level > 2) { log.println(dirents.length + " items listed"); } sorted = new LinkedList();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502); // Call getSecurity multiple times - should return consistent results ACE[] result1 = msrpcShareGetInfo.getSecurity(); ACE[] result2 = msrpcShareGetInfo.getSecurity(); // Both should be null (no DACL)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0)