Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1841 - 1850 of 2,557 for False (0.02 sec)

  1. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

            } else if (type == boolean.class) {
                final Boolean b = BooleanConversionUtil.toBoolean(o);
                if (b != null) {
                    return b;
                }
                return Boolean.FALSE;
            } else if (type == byte.class) {
                final Byte b = ByteConversionUtil.toByte(o);
                if (b != null) {
                    return b;
                }
                return Byte.valueOf((byte) 0);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            PropertyConfiguration config = new PropertyConfiguration(props);
    
            // Invalid values should result in defaults
            assertFalse(config.isUseRDMA(), "Invalid boolean should default to false");
            assertEquals(8192, config.getRdmaReadWriteThreshold(), "Invalid number should use default");
            assertEquals(65536, config.getRdmaMaxSendSize(), "Invalid number should use default");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            };
    
            // Test each pattern and see what actually works
            for (String cron : potentiallyValidCrons) {
                boolean result = validator.isValid(cron, context);
                // Don't assert true/false here, just test that method doesn't throw
                assertNotNull("Validation should return a boolean result for: " + cron, Boolean.valueOf(result));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
            assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties"));
            assertEquals("2", false, ResourceUtil.isExist("hoge"));
        }
    
        /**
         * @throws Exception
         */
        public void testGetExtension() throws Exception {
            assertEquals("1", "xml", ResourceUtil.getExtension("aaa/bbb.xml"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

            this.maxFragmentedSize = RdmaCapabilities.DEFAULT_MAX_FRAGMENTED_SIZE;
        }
    
        /**
         * Check if negotiation was successful
         *
         * @return true if successful, false otherwise
         */
        public boolean isSuccess() {
            return status == 0;
        }
    
        /**
         * Get negotiation status
         *
         * @return status code (0 = success)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. cmd/api-response_test.go

    				t.Errorf("expected %s, got %s", testCase.expectedLocation, gotLocation)
    			}
    		})
    	}
    }
    
    // Tests getURLScheme function behavior.
    func TestGetURLScheme(t *testing.T) {
    	tls := false
    	gotScheme := getURLScheme(tls)
    	if gotScheme != httpScheme {
    		t.Errorf("Expected %s, got %s", httpScheme, gotScheme)
    	}
    	tls = true
    	gotScheme = getURLScheme(tls)
    	if gotScheme != httpsScheme {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/expr_test.go

    	{"3+2*3", 3 + 2*3, true},
    	{"3*(2+3)", 3 * (2 + 3), true},
    	{"3*-(2+3)", 3 * -(2 + 3), true},
    	{"3<<2+4", 3<<2 + 4, true},
    	{"3<<2+4", 3<<2 + 4, true},
    	{"3<<(2+4)", 3 << (2 + 4), true},
    	// Junk at EOF.
    	{"3 x", 3, false},
    	// Big number
    	{"4611686018427387904", 4611686018427387904, true},
    }
    
    func TestExpr(t *testing.T) {
    	p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

      private EventBus bus;
      private boolean methodCalled;
      private @Nullable Object methodArgument;
    
      @Override
      protected void setUp() throws Exception {
        bus = new EventBus();
        methodCalled = false;
        methodArgument = null;
      }
    
      public void testCreate() {
        Subscriber s1 = Subscriber.create(bus, this, getTestSubscriberMethod("recordingMethod"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            when(tree.getSendBufferSize()).thenReturn(4096);
            // Act
            return new SmbPipeOutputStream(handle, tree);
        }
    
        @ParameterizedTest
        @ValueSource(booleans = { true, false })
        @DisplayName("isOpen delegates to handle.isOpen")
        void isOpen_delegates(boolean state) throws Exception {
            // Arrange
            SmbPipeOutputStream out = newStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

         * This includes all Windows variants (95, 98, ME, NT, 2000, XP, Vista, 7, 8, 10, 11).
         *
         * @return true if the current OS is any Windows variant, false otherwise
         */
        boolean isWindows();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 10 14:12:18 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top