Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4701 - 4710 of 4,820 for if (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

    import java.net.URL
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    
    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlJvmTest {
      val platform = PlatformRule()
    
      /** This one's ugly: the HttpUrl's host is non-empty, but the URI's host is null. */
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return table;
          }
        },
        ArrayTableImpl {
          @Override
          <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
              Table<R, C, V> contents) {
            if (contents.isEmpty()) {
              return ImmutableTable.of();
            } else {
              return ArrayTable.create(contents);
            }
          }
        },
        ImmutableTableImpl {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/PathValidatorTest.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.util;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. README.md

    Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd");
    
    // Primitive conversions with default values
    int primitiveInt = IntegerConversionUtil.toPrimitiveInt(value, "0");  // Default to 0 if null
    ```
    
    ### Collection Utilities with Java 21 Support
    ```java
    import org.codelibs.core.collection.CollectionsUtil;
    import java.util.SequencedCollection;
    
    // Enhanced collection creation
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testVariousBufferConfigurations(int bufferSize, int offset, int length) {
                byte[] buffer = new byte[bufferSize];
                FileFsSizeInformation info = new FileFsSizeInformation();
    
                if (offset + length <= bufferSize && length >= 24) {
                    assertDoesNotThrow(() -> {
                        info.decode(buffer, offset, length);
                    });
                }
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  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. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        get(redirectSourceUrl)
        val request = redirectSource.takeRequest()
        assertThat(request.headers["Cookie"]).isEqualTo("c=cookie")
        for (header in redirectTarget.takeRequest().headers.names()) {
          if (header.startsWith("Cookie")) {
            fail(header)
          }
        }
      }
    
      @Test
      fun testCookiesSentIgnoresCase() {
        client =
          client
            .newBuilder()
            .cookieJar(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top