Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 4,311 for chat (0.02 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

    import okio.asOkioSocket
    import okio.buffer
    
    /**
     * Adapts a [java.net.Socket] to MockWebServer's needs.
     *
     * Note that [asOkioSocket] returns a socket that closes the underlying [java.net.Socket] when both
     * of its component streams are closed. This class takes advantage of that.
     */
    internal class MockWebServerSocket(
      val javaNetSocket: Socket,
    ) : Closeable,
      BufferedSocket {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for any listenable future that chains other listenable futures. Unit tests need only
     * override buildChainingFuture and getSuccessfulResult, but they can add custom tests as needed.
     *
     * @author Nishant Thakkar
     */
    @NullUnmarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

    /**
     * Test class for IgnoreCloseInputStream.
     *
     * @author shinsuke
     */
    public class IgnoreCloseInputStreamTest extends PlainTestCase {
    
        public void test_close_isIgnored() throws IOException {
            // Test that close() is ignored
            byte[] data = "Test data".getBytes();
            ByteArrayInputStream underlyingStream = new ByteArrayInputStream(data);
            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

            UpgradeContext context = createMockContext();
    
            help.execute(context);
    
            // Verify that logger.info was called multiple times
            // We can't easily verify the exact content without capturing the logger output,
            // but we can verify that the method executes without errors
            Mockito.verify(context.logger, Mockito.atLeastOnce()).info(Mockito.anyString());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    protected char more() throws java.io.IOException, XmlPullParserExcepti; protected void ensurePC(int); protected void joinPC(); protected char requireInput(char, char[]) throws XmlPullParserExcepti, java.io.IOException; protected char requireNextS() throws XmlPullParserExcepti, java.io.IOException; protected char skipS(char) throws XmlPullParserExcepti, java.io.IOException; private static final void setName(char); private static final void setNameStart(char); protected boolean isNameStartChar(char); protected...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTreeTest.java

         * Test for close() method under normal conditions.
         * Verifies that close can be called successfully.
         */
        @Test
        void testClose() {
            doNothing().when(smbTree).close();
    
            smbTree.close();
    
            verify(smbTree).close();
        }
    
        /**
         * Test for close() method called multiple times.
         * Verifies that close can be called multiple times safely.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            }
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Test that writeSetupWireFormat returns 0
            byte[] dst = new byte[100];
            int result = response.writeSetupWireFormat(dst, 10);
            assertEquals(0, result);
        }
    
        @Test
        void testWriteParametersWireFormat() {
            // Test that writeParametersWireFormat returns 0
            byte[] dst = new byte[100];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            // For coverage, we'll ensure the method doesn't throw MalformedURLException for a valid URL
            // and that it attempts to create an SmbFile.
            // We cannot directly mock `new SmbFile()`, so we rely on the fact that if it doesn't throw, it's working as expected.
    
            // This test primarily ensures that the wrapper correctly handles the MalformedURLException
            // and delegates the SmbFile creation.
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

       * ValueGraphBuilder}.
       *
       * <p>The returned builder can be used for populating an {@link ImmutableValueGraph}.
       *
       * <p>Note that the returned builder will always have {@link #incidentEdgeOrder} set to {@link
       * ElementOrder#stable()}, regardless of the value that was set in this builder.
       *
       * @since 28.0
       */
      public <N1 extends N, V1 extends V> ImmutableValueGraph.Builder<N1, V1> immutable() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top