Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for errorCode (0.38 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package typesinternal
    
    //go:generate stringer -type=ErrorCode
    
    type ErrorCode int
    
    // This file defines the error codes that can be produced during type-checking.
    // Collectively, these codes provide an identifier that may be used to
    // implement special handling for certain types of errors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        }
        connection.writeSynResetLater(id, errorCode)
      }
    
      /** Returns true if this stream was closed. */
      private fun closeInternal(
        errorCode: ErrorCode,
        errorException: IOException?,
      ): Boolean {
        lock.assertNotHeld()
    
        this.withLock {
          if (this.errorCode != null) {
            return false
          }
          this.errorCode = errorCode
          this.errorException = errorException
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            }
    
            final String errorCode = UUID.randomUUID().toString();
            if (logger.isDebugEnabled()) {
                logger.debug("[{}] {}", errorCode, stacktraceString.get().replace("\n", "\\n"));
            } else {
                logger.warn("[{}] {}", errorCode, cause.getMessage());
            }
            return "error_code:" + errorCode;
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            System.out.println(message);
            assertContains(message, "ErrorCode=7650");
            assertContains(message, "SQLState=fooState");
            assertContains(message, "some reason");
            assertContains(message, "ErrorCode=7660");
            assertContains(message, "SQLState=barState");
            assertContains(message, "hoge reason");
            assertContains(message, "ErrorCode=7670");
            assertContains(message, "SQLState=bazState");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * underlying input and output streams and shuts down internal task queues.
       */
      override fun close() {
        close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null)
      }
    
      internal fun close(
        connectionCode: ErrorCode,
        streamCode: ErrorCode,
        cause: IOException?,
      ) {
        this.assertThreadDoesntHoldLock()
    
        ignoreIoExceptions {
          shutdown(connectionCode)
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          this.data = source.readByteString(length.toLong()).toByteArray()
        }
    
        override fun rstStream(
          streamId: Int,
          errorCode: ErrorCode,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_RST_STREAM
          this.streamId = streamId
          this.errorCode = errorCode
        }
    
        override fun ping(
          ack: Boolean,
          payload1: Int,
          payload2: Int,
        ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h

    namespace TFL {
    
    // Collects errors when running the pass manager.
    class ErrorCollectorInstrumentation : public PassInstrumentation {
      using ConverterErrorData = tflite::metrics::ConverterErrorData;
      using ErrorCode = ConverterErrorData::ErrorCode;
    
     public:
      explicit ErrorCollectorInstrumentation(MLIRContext *context);
    
     private:
      // Instrumentation hooks. These hooks don't need to be thread-safe. The pass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        noRecoveryFromErrorWithRetryDisabled(ErrorCode.CANCEL)
      }
    
      private fun noRecoveryFromErrorWithRetryDisabled(errorCode: ErrorCode?) {
        server.enqueue(
          MockResponse(socketPolicy = ResetStreamAtStart(errorCode!!.httpCode)),
        )
        server.enqueue(MockResponse(body = "abc"))
        client =
          client.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          require(errorCode.httpCode != -1)
    
          frameHeader(
            streamId = streamId,
            length = 4,
            type = TYPE_RST_STREAM,
            flags = FLAG_NONE,
          )
          sink.writeInt(errorCode.httpCode)
          sink.flush()
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        connection.newStream(headerEntries("b", "banana"), false)
    
        // Verify the peer received what was expected.
        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_HEADERS)
        assertThat(peer.takeFrame().errorCode).isEqualTo(ErrorCode.PROTOCOL_ERROR)
      }
    
      @Test fun pushPromiseStreamsAutomaticallyCancel() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top