- Sort Score
- Result 10 results
- Languages All
Results 1641 - 1650 of 2,937 for rint (0.01 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestStringCollectionGenerator.java
String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Collection<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java
public Queue<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Queue<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
*/ @GwtCompatible public class BaseComparable implements Comparable<BaseComparable>, Serializable { private final String s; public BaseComparable(String s) { this.s = s; } @Override public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() { @Override protected void parseURL(final URL u, final String spec, final int start, final int limit) { setURL(u, "zip", null, 0, null, null, spec.substring(4), null, null); } @Override protected URLConnection openConnection(final URL u) throws IOException {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrLong.java
*/ public class NdrLong extends NdrObject { /** * The long integer value. */ public int value; /** * Constructs an NdrLong with the specified value. * * @param value the long integer value */ public NdrLong(final int value) { this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
.isTrue(); } } public void testCompare() { for (byte x : VALUES) { for (byte y : VALUES) { // Only compare the sign of the result of compare(). int expected = Byte.compare(x, y); int actual = SignedBytes.compare(x, y); if (expected == 0) { assertWithMessage(x + ", " + y).that(actual).isEqualTo(expected); } else if (expected < 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
duration: Long, unit: TimeUnit, ): Int { check(duration >= 0L) { "$name < 0" } val millis = unit.toMillis(duration) require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() } internal fun checkDuration( name: String, duration: Duration, ): Int { check(!duration.isNegative()) { "$name < 0" }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
assertEquals("callback2", callbackResults.get(1)); } public void test_run_bufferSizeLimit() throws InterruptedException { StringBuilder inputBuilder = new StringBuilder(); for (int i = 1; i <= 15; i++) { inputBuilder.append("line").append(i).append("\n"); } InputStream is = new ByteArrayInputStream(inputBuilder.toString().getBytes(StandardCharsets.UTF_8));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* @return resolved addresses * @throws java.net.UnknownHostException * if there is an error resolving the name */ NetbiosAddress[] getNbtAllByAddress(String host, int type, String scope) throws UnknownHostException; /** * Retrieve all addresses of a host by it's address. NetBIOS hosts can * have many names for a given IP address. The name and IP address make theRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
} @Test void testShareEnumAllConstructor() { String servername = "\\\\SERVER"; int level = 1; srvsvc.ShareInfoCtr1 info = new srvsvc.ShareInfoCtr1(); int prefmaxlen = 0xFFFFFFFF; int totalentries = 0; int resume_handle = 0; srvsvc.ShareEnumAll enumAll = new srvsvc.ShareEnumAll(servername, level, info, prefmaxlen, totalentries, resume_handle);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)