Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,199 for true (0.04 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * Returns {@literal true} if the array is not {@literal null} and its length is not 0.
         *
         * @param arrays
         *            the array
         * @return {@literal true} if the array is not {@literal null} and its length is not 0
         */
        public static boolean isNotEmpty(final boolean[] arrays) {
            return arrays != null && arrays.length != 0;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java

      public void testCompareBooleans() {
        assertThat(
                ComparisonChain.start()
                    .compare(true, true)
                    .compare(true, Boolean.TRUE)
                    .compare(Boolean.TRUE, true)
                    .compare(Boolean.TRUE, Boolean.TRUE)
                    .result())
            .isEqualTo(0);
      }
    
      public void testDegenerate() {
        // kinda bogus, but who cares?
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                try {
                    conn.disconnect(true, true);
                } catch (Exception e) {
                    log.debug("Error closing connection: {}", e.getMessage());
                }
            });
            connections.clear();
    
            nonPooledConnections.forEach(conn -> {
                try {
                    conn.disconnect(true, true);
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(session.isConnected()).thenReturn(true);
        }
    
        // Test case for the constructor of SmbTreeImpl
        @Test
        void testSmbTreeImplConstructor() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

            valve.setShowReport(true);
            assertTrue(valve.isShowReport());
    
            valve.setShowReport(false);
            assertFalse(valve.isShowReport());
    
            valve.setShowReport(true);
            assertTrue(valve.isShowReport());
    
            // Test toggling ShowServerInfo multiple times
            assertFalse(valve.isShowServerInfo());
    
            valve.setShowServerInfo(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // pvno [0] INTEGER 5
            v.add(new DERTaggedObject(true, 0, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_VERSION))));
            // msg-type [1] INTEGER 14 (AP-REQ)
            v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ))));
            // ap-options [2] BIT STRING
            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { apOptions }))); // first byte read by impl
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    	{GOOS: "linux", GOARCH: "386", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "386"},
    	{GOOS: "linux", GOARCH: "amd64", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "amd64"},
    	{GOOS: "linux", GOARCH: "arm", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "arm"},
    	{GOOS: "darwin", GOARCH: "amd64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "amd64"},
    	{GOOS: "darwin", GOARCH: "arm64", CgoEnabled: true},
    	{GOOS: "darwin", GOARCH: "arm64"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

    import org.junit.jupiter.api.Test;
    
    class UnicodeStringTest {
    
        @Test
        void testConstructorWithZterm() {
            // Test with zterm = true
            UnicodeString unicodeStringTrue = new UnicodeString(true);
            assertTrue(unicodeStringTrue.zterm, "zterm should be true");
            assertEquals(0, unicodeStringTrue.length, "Length should be 0 for empty string");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        testThreshold(0, 100, true, true);
        testThreshold(10, 100, true, true);
        testThreshold(100, 100, true, true);
        testThreshold(1000, 100, true, true);
        testThreshold(0, 100, false, true);
        testThreshold(10, 100, false, true);
        testThreshold(100, 100, false, true);
        testThreshold(1000, 100, false, true);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

        TestGuard guard = new TestGuard(true);
        thread2.callAndAssertReturns(enter());
        thread1.callAndAssertBlocks(enterIf(), guard);
        thread2.callAndAssertReturns(leave());
        thread1.assertPriorCallReturns(true, enterIf());
      }
    
      public final void testTryEnterIf_initiallyTrue() throws Exception {
        TestGuard guard = new TestGuard(true);
        thread1.callAndAssertReturns(true, tryEnterIf(), guard);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top