Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 869 for mymessage (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

     */
    
    package jcifs.internal.smb1.com;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Find Close2 request message.
     *
     * This command is used to close a search handle that was
     * opened by a Trans2 Find First2 request.
     */
    public class SmbComFindClose2 extends ServerMessageBlock {
    
        private final int sid;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtCancel.java

     *
     * @author mbechler
     */
    public class SmbComNtCancel extends ServerMessageBlock {
    
        /**
         * Constructs an NT cancel command.
         *
         * @param config the configuration
         * @param mid the message ID to cancel
         */
        protected SmbComNtCancel(final Configuration config, final int mid) {
            super(config, SMB_COM_NT_CANCEL);
            setMid(mid);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

       *
       * This value is encoded in bit 6 of the first byte of each value.
       *
       * ```
       * 0bxx0xxxxx Primitive
       * 0bxx1xxxxx Constructed
       * ```
       */
      var constructed: Boolean,
      /** Length of the message in bytes, or -1L if its length is unknown at the time of encoding. */
      var length: Long,
    ) {
      val isEndOfData: Boolean
        get() = tagClass == TAG_CLASS_UNIVERSAL && tag == TAG_END_OF_CONTENTS
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Disconnect request message.
     *
     * This command is used to disconnect from a previously
     * connected tree (shared resource).
     *
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
            byte[] buffer = new byte[6];
    
            // Assert that an IOException is thrown with the expected message.
            IOException thrown = assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(mockInputStream, buffer, 0);
            });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          val trailersDelay =
            measureTime {
              val exception =
                assertFailsWith<IOException> {
                  response.trailers()
                }
              assertThat(exception.message).isIn(
                "Socket closed", // HTTP/1.1
                "stream was reset: CANCEL", // HTTP/2
              )
            }
          assertThat(trailersDelay).isGreaterThan(250.milliseconds)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 08 21:45:04 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB2 Oplock Break notification message. This server-initiated message notifies the client
     * that an opportunistic lock must be broken due to conflicting access from another client.
     *
     * @author mbechler
     *
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

              Response
                .Builder()
                .request(chain.request())
                .protocol(Protocol.HTTP_1_1)
                .code(200)
                .message("OK")
                .body("Hello".toResponseBody())
                .header("Content-Encoding", "piedpiper")
                .build()
            }.build()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

            log(task, queue, "failed a run in ${formatDuration(elapsedNs)}")
          }
        }
      }
    }
    
    private fun Logger.log(
      task: Task,
      queue: TaskQueue,
      message: String,
    ) {
      fine("${queue.name} ${String.format("%-22s", message)}: ${task.name}")
    }
    
    /**
     * Returns a duration in the nearest whole-number units like "999 µs" or "  1 s ". This rounds 0.5
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            verify(nextMessage).setSessionId(Smb2Constants.UNSPECIFIED_SESSIONID);
            assertTrue(result); // Assuming superclass chain returns true
        }
    
        @Test
        @DisplayName("Should calculate correct message size with token")
        void testSizeWithToken() {
            // Given
            byte[] token = new byte[100];
            Smb2SessionSetupRequest req =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top