- Sort Score
- Result 10 results
- Languages All
Results 4501 - 4510 of 4,820 for If (0.04 sec)
-
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
private Entry<Object, Object> entryOf(Object key, Object value) { return Maps.immutableEntry(key, value); } private void assertMapSize(Map<?, ?> map, int size) { assertEquals(size, map.size()); if (size > 0) { assertFalse(map.isEmpty()); } else { assertTrue(map.isEmpty()); } assertCollectionSize(map.keySet(), size); assertCollectionSize(map.entrySet(), size);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
try { notifications.clear(); // If this succeeds, the implementation allows modification assertTrue(notifications.isEmpty()); } catch (UnsupportedOperationException e) { // If this throws, the implementation returned an immutable list assertEquals(2, notifications.size()); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
void testConstants(String constantName, int expectedValue) { if ("SV_TYPE_ALL".equals(constantName)) { assertEquals(expectedValue, NetServerEnum2.SV_TYPE_ALL); assertEquals(0xFFFFFFFF, NetServerEnum2.SV_TYPE_ALL); } else if ("SV_TYPE_DOMAIN_ENUM".equals(constantName)) { assertEquals(expectedValue, NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.tryParse(input)).isEqualTo(expected); if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) { // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava. StringBuilder escapedInput = new StringBuilder(); for (char c : input.toCharArray()) { if (c >= 0x20 && c <= 0x7E) { escapedInput.append(c); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
j4MC2x5rfsLKKqToKmNE7pFEgqwe8//Aar1b+Qj+ -----END CERTIFICATE----- """.trimIndent(), ) val peerCertificate = session.peerCertificates[0] as X509Certificate if (isAndroid || platform.isConscrypt()) { assertThat(certificateSANs(peerCertificate)).containsExactly("bar.com") } else { assertThat(certificateSANs(peerCertificate)).containsExactly("bar.com", "������.co.jp")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 40.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
jobLog.setJobName("Test Job"); jobLog.setEndTime(null); MonitorTarget target = new MonitorTarget(jobLog); try { target.expired(); // If it succeeds, check that lastUpdated is set assertNotNull(jobLog.getLastUpdated()); } catch (Exception e) { // Expected in test environment due to missing client
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
logWithTime("followUpDecision") delegate.followUpDecision(call, networkResponse, nextRequest) } private fun logWithTime(message: String) { val startNs = startNs val timeMs = if (startNs == null) { // Event occurred before start, for an example an early cancel. 0L } else { TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UUID.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc; /** * Represents a DCE/RPC UUID (Universally Unique Identifier).
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@MethodSource("provideRoundTripTestData") @DisplayName("Write and read operations should be symmetric") void testWriteReadSymmetry(int value, boolean isInt2) { byte[] buffer = new byte[10]; if (isInt2) { SessionServicePacket.writeInt2(value, buffer, 0); int result = SessionServicePacket.readInt2(buffer, 0); assertEquals(value & 0xFFFF, result); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/profile/index.jsp
<link href="${fe:url('/css/admin/adminlte.min.css')}" rel="stylesheet" type="text/css" /> <link href="${fe:url('/css/admin/style.css')}" rel="stylesheet" type="text/css" /> <!--[if lt IE 9]> <script src="${fe:url('/css/admin/html5shiv.min.js')}"></script> <script src="${fe:url('/css/admin/respond.min.js')}"></script> <![endif]--> </head> <body class="hold-transition login-page">
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 3.6K bytes - Viewed (0)