Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 691 for closes (0.32 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

    import okhttp3.internal.SuppressSignatureCheck
    
    /** Data classes that correspond to each of the methods of [EventListener]. */
    @SuppressSignatureCheck
    sealed class CallEvent {
      abstract val timestampNs: Long
      abstract val call: Call
    
      val name: String
        get() = javaClass.simpleName
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: CallEvent): Boolean? = null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. .github/workflows/close-linked-issue-when-merged-into-release.yml

    name: Close linked issues when PR merged into release
    
    on:
      pull_request:
        types: [closed]
        branches:
          - release
          - release7x
          - release8x
    
    permissions:
      issues: write
    
    jobs:
      closeIssueOnPrMerge:
        runs-on: ubuntu-latest
        steps:
          - name: Closes issues related to a merged pull request.
            uses: ldez/gha-mjolnir@df0e84242364946fa3ad4e7556510e8086ad681a
            env:
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jul 16 09:18:51 UTC 2025
    - 458 bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    import okhttp3.internal.SuppressSignatureCheck
    
    /** Data classes that correspond to each of the methods of [ConnectionListener]. */
    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

       * after the response and will close the connection when the client's socket is exhausted.
       *
       * On HTTP/1 this closes the socket.
       */
      public object ShutdownConnection : SocketEffect
    
      /**
       * On HTTP/2 this will send the error code on the stream.
       *
       * On HTTP/1 this closes the socket.
       */
      public class CloseStream(
        public val http2ErrorCode: Int = 0,
      ) : SocketEffect
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/CloseableUtil.java

         * </p>
         *
         * @param closeable the closeable object
         * @see Closeable#close()
         */
        public static void close(final Closeable closeable) {
            if (closeable == null) {
                return;
            }
            try {
                closeable.close();
            } catch (final IOException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt

    /** Implements the policy specified by [StartStop]. */
    internal class StartStopExtension :
      BeforeEachCallback,
      BeforeAllCallback {
      override fun beforeAll(context: ExtensionContext) {
        val store = context.getStore(Namespace.create(StartStop::class.java))
    
        val staticFields =
          findAnnotatedFields(
            context.requiredTestClass,
            StartStop::class.java,
          ) { Modifier.isStatic(it.modifiers) }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/EmptyIteratorTest.java

                }
            }, "Multiple close operations should not cause issues");
    
            // Verify iterator still works after multiple closes
            assertFalse(emptyIterator.hasNext(), "Iterator should still work after multiple closes");
            assertNull(emptyIterator.next(), "Iterator should still return null after multiple closes");
        }
    
        @Test
        @DisplayName("EmptyIterator should handle remove operations multiple times")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            // Verify interactions
            verify(tree, times(1)).send(isA(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class));
            // Verify that Trans2FindNext2 was sent twice for fetching more entries
            verify(tree, times(2)).send(isA(Trans2FindNext2.class), any(Trans2FindFirst2Response.class));
    
            // Close should have sent FindClose2 exactly once
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

          private var closed = false
    
          override fun close() {
            if (closed) return
            try {
              super.close()
            } finally {
              closedLatch.countDown()
            }
          }
        }.buffer()
    
      override val sink: BufferedSink =
        object : ForwardingSink(delegate.sink) {
          private var closed = false
    
          override fun close() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            assertSame(info, result);
            verify(tree, atLeastOnce()).send(any(CommonServerMessageBlockRequest.class), any(), any(), any());
        }
    
        // close() should close underlying handle with 0L when valid
        @Test
        @DisplayName("close() closes underlying handle when valid")
        void close_validHandle_invokesClose() throws Exception {
            when(handle.isValid()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top