Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5121 - 5130 of 7,102 for sering (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     * factory classes like:
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

        }
    
        @Override
        public String read() throws IOException {
          // Reading all the data as a byte array is more efficient than the default read()
          // implementation because:
          // 1. the string constructor can avoid an extra copy most of the time by correctly sizing the
          //    internal char array (hard to avoid using StringBuilder)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertThrows(NoSuchElementException.class, () -> peekingIterator.next());
      }
    
      public void testCantRemoveAfterPeek() {
        List<String> list = Lists.newArrayList("A", "B", "C");
        Iterator<String> iterator = list.iterator();
        PeekingIterator<?> peekingIterator = peekingIterator(iterator);
    
        assertEquals("A", peekingIterator.next());
        assertEquals("B", peekingIterator.peek());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

    /**
     * Test class for TransCallNamedPipe
     */
    class TransCallNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TransCallNamedPipe transCallNamedPipe;
        private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe";
        private static final byte[] TEST_DATA = "Test pipe data".getBytes();
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

          .isEqualTo(X500Principal("CN=Local Host"))
        assertThat(response.handshake!!.localPrincipal)
          .isEqualTo(X500Principal("CN=Jethro Willis"))
        assertThat(response.body.string()).isEqualTo("abc")
      }
    
      @Test
      fun clientAuthForNeeds() {
        val client = buildClient(clientCert, clientIntermediateCa.certificate)
        val socketFactory = buildServerSslSocketFactory()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Stopwatch.java

       */
      @J2ktIncompatible
      @GwtIncompatible
      @J2ObjCIncompatible
      public Duration elapsed() {
        return Duration.ofNanos(elapsedNanos());
      }
    
      /** Returns a string representation of the current elapsed time. */
      @Override
      public String toString() {
        long nanos = elapsedNanos();
    
        TimeUnit unit = chooseUnit(nanos);
        double value = (double) nanos / NANOSECONDS.convert(1, unit);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

        }
    
        @Test
        public void toString_doesNotThrow() {
            DummyResponse d = new DummyResponse();
            String s = d.toString();
            assertNotNull(s, "toString should not return null");
            assertTrue(s.contains("totalParameterCount="), "string representation contains totalParameterCount field");
        }
    
        /**
         * Verify that readParameterWordsWireFormat parses the SMB header
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

            @Test
            @DisplayName("should remove duplicate dependencies in dependencyManagement")
            void shouldRemoveDuplicateDependenciesInDependencyManagement() throws Exception {
                String pomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
                    <project xmlns="http://maven.apache.org/POM/4.0.0">
                        <modelVersion>4.0.0</modelVersion>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/common/JvmVersion.kt

    package common
    
    enum class JvmVersion(
        val major: Int,
    ) {
        JAVA_8(8),
        JAVA_11(11),
        JAVA_17(17),
        JAVA_21(21),
        JAVA_25(25),
        JAVA_26(26),
        ;
    
        fun toCapitalized(): String = name.replace("_", "").lowercase().toCapitalized()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 15 19:30:24 GMT 2026
    - 873 bytes
    - Click Count (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * limitations under the License.
     */
    package okhttp3.curl
    
    import com.github.ajalt.clikt.core.main
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Dec 21 08:56:29 GMT 2024
    - 768 bytes
    - Click Count (0)
Back to Top