Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4701 - 4710 of 4,820 for If (0.03 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        @Test
        public void testNewStringUnsafe() {
            assertNull(StringUtil.newStringUnsafe(null));
            Method newStringUnsafeMethod = StringUtil.newStringUnsafeMethod;
            if (newStringUnsafeMethod != null) {
                StringUtil.newStringUnsafeMethod = null;
                char[] chars = new char[0];
                assertThat(StringUtil.newStringUnsafe(chars), is(""));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Act
            String result = transPeekNamedPipe.toString();
    
            // Assert
            assertNotNull(result);
            assertTrue(result.contains("TransPeekNamedPipe"));
            if (pipeName != null) {
                assertTrue(result.contains("pipeName=" + pipeName));
            } else {
                assertTrue(result.contains("pipeName=null"));
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        private String readString(byte[] buffer, int offset, int maxLength) {
            int length = 0;
            for (int i = offset; i < offset + maxLength && i < buffer.length; i++) {
                if (buffer[i] == 0) {
                    break;
                }
                length++;
            }
            return new String(buffer, offset, length);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. cmd/apierrorcode_string.go

    func (i APIErrorCode) String() string {
    	if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) {
    		return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        // Test that Secured annotation has correct meta-annotations
        public void test_annotationMetadata() {
            // Check if Secured annotation is present
            assertNotNull(Secured.class);
    
            // Check Target annotation
            Target target = Secured.class.getAnnotation(Target.class);
            assertNotNull(target);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            SmbFileHandleImpl hB = id2 != null ? new SmbFileHandleImpl(cfg, id2, tB, "//eq/b", 0, 0, 0, 0, 0L)
                    : new SmbFileHandleImpl(cfg, 33, tB, "//eq/b", 0, 0, 0, 0, 0L);
    
            if (expectEqual) {
                assertEquals(hA, hB);
                assertEquals(hA.hashCode(), hB.hashCode());
            } else {
                assertNotEquals(hA, hB);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. README.md

    >>> hello = tf.constant('Hello, TensorFlow!')
    >>> hello.numpy()
    b'Hello, TensorFlow!'
    ```
    
    For more examples, see the
    [TensorFlow Tutorials](https://www.tensorflow.org/tutorials/).
    
    ## Contribution guidelines
    
    **If you want to contribute to TensorFlow, be sure to review the
    [Contribution Guidelines](CONTRIBUTING.md). This project adheres to TensorFlow's
    [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jul 18 14:09:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(array.asList()).containsExactly(5L);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableLongArray.builder(-1));
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDTest.java

            void testEmptyAndBlank() throws Exception {
                // No subauthorities
                SID s1 = new SID("S-1-5");
                assertTrue(s1.isEmpty());
                // isBlank will fail if sub_authority is null, so we skip that check for s1
    
                // All-zero subauthorities
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 0 };
                rpc.sid_t st = buildSidT((byte) 1, ident, 0, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/Kerb5ContextTest.java

            // Create Kerb5Context with mocked dependencies
            ctx = new Kerb5Context("host.example", "cifs", null, 0, 0, null);
        }
    
        @AfterEach
        void tearDown() {
            if (mockedStatic != null) {
                mockedStatic.close();
            }
        }
    
        private static void setPrivateField(Object target, String name, Object value) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top