Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for ErrorCode (0.39 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
        /**
         * @return the errorCode
         */
        @Override
        public final int getErrorCode() {
            return this.errorCode;
        }
    
        /**
         * Sets the error code for this message block
         * @param errorCode
         *            the errorCode to set
         */
        public final void setErrorCode(final int errorCode) {
            this.errorCode = errorCode;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      override fun trackFailure(
        call: RealCall,
        e: IOException?,
      ) {
        var noNewExchangesEvent = false
        withLock {
          if (e is StreamResetException) {
            when {
              e.errorCode == ErrorCode.REFUSED_STREAM -> {
                // Stop using this connection on the 2nd REFUSED_STREAM error.
                refusedStreamCount++
                if (refusedStreamCount > 1) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

        // Test error code generation
        public void test_errorCodeGeneration() {
            long timestamp = System.currentTimeMillis();
            String errorCode = "error_code:" + Long.toHexString(timestamp);
    
            assertTrue(errorCode.startsWith("error_code:"));
            assertTrue(errorCode.length() > 11); // "error_code:" is 11 chars
        }
    
        // Test with different exception types
        public void test_exceptionTypes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertTrue(result.contains("command=SMB_COM_TREE_CONNECT_ANDX"));
                assertTrue(result.contains("errorCode="));
                // Should show non-zero error code
                assertTrue(result.contains("errorCode=0x00000001") || result.contains("errorCode=1"));
            }
    
            @Test
            @DisplayName("Test toString with all command types")
            void testToStringAllCommands() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testToString() {
            smb.command = ServerMessageBlock.SMB_COM_ECHO;
            smb.errorCode = 0;
            smb.mid = 1;
            String str = smb.toString();
            assertTrue(str.contains("command=SMB_COM_ECHO"));
            assertTrue(str.contains("errorCode=0"));
            assertTrue(str.contains("mid=1"));
        }
    
        @Test
        void testToStringUnknownCommand() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            // Navigate through the inheritance hierarchy to find the errorCode field
            Class<?> currentClass = response.getClass();
            Field errorCodeField = null;
    
            while (currentClass != null && errorCodeField == null) {
                try {
                    errorCodeField = currentClass.getDeclaredField("errorCode");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

                super(config, command, subcommand);
            }
    
            // Expose errorCode setter for testing - access protected field directly
            public void setTestErrorCode(int code) {
                this.errorCode = code;
            }
    
            @Override
            protected int writeSetupWireFormat(byte[] dst, int dstIndex) {
                return setupWireFormatReturn;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import javax.net.SocketFactory
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseStream
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.Flaky
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            case SMB_COM_NT_TRANSACT_SECONDARY -> "SMB_COM_NT_TRANSACT_SECONDARY";
            default -> "UNKNOWN";
            };
            final String str = errorCode == 0 ? "0" : SmbException.getMessageByCode(errorCode);
            return "command=" + c + ",received=" + received + ",errorCode=" + str + ",flags=0x" + Hexdump.toHexString(flags & 0xFF, 4)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            return 4;
        }
    
        @Override
        int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
            if (errorCode != 0) {
                return 4;
            }
    
            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top