Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 694 for Ok (0.08 seconds)

  1. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            }
        }
    
        @Test
        public void test_setError_withVariousStatusCodes() {
            // Test setError with various HTTP status codes
            try {
                WebApiUtil.setError(200, "OK");
                WebApiUtil.setError(201, "Created");
                WebApiUtil.setError(400, "Bad Request");
                WebApiUtil.setError(401, "Unauthorized");
                WebApiUtil.setError(403, "Forbidden");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            return (this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName)) && addr.equals(this.address)
                    && (prt == 0 || prt == this.port ||
                    /* port 139 is ok if 445 was requested */
                            prt == 445 && this.port == 139)
                    && (laddr == this.localAddr || laddr != null && laddr.equals(this.localAddr)) && lprt == this.localPort;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  3. cmd/api-errors.go

    	apiErrCodeEnd // This is used only for the testing code
    )
    
    type errorCodeMap map[APIErrorCode]APIError
    
    func (e errorCodeMap) ToAPIErrWithErr(errCode APIErrorCode, err error) APIError {
    	apiErr, ok := e[errCode]
    	if !ok {
    		apiErr = e[ErrInternalError]
    	}
    	if err != nil {
    		apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err)
    	}
    	if region := globalSite.Region(); region != "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  4. doc/go_spec.html

    </p>
    
    <pre>
    v, ok = x.(T)
    v, ok := x.(T)
    var v, ok = x.(T)
    var v, ok interface{} = x.(T) // dynamic types of v and ok are T and bool
    </pre>
    
    <p>
    yields an additional untyped boolean value. The value of <code>ok</code> is <code>true</code>
    if the assertion holds. Otherwise it is <code>false</code> and the value of <code>v</code> is
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

              ? new ReentrantLock(fair)
              // requireNonNull is safe because createNodes inserts an entry for every E.
              // (If the caller passes `null` for the `rank` parameter, this will throw, but that's OK.)
              : new CycleDetectingReentrantLock(requireNonNull(lockGraphNodes.get(rank)), fair);
        }
    
        /** Equivalent to {@code newReentrantReadWriteLock(rank, false)}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                    this.setCommand(SMB_COM_TRANSACTION_SECONDARY);
                } else {
                    this.setCommand(SMB_COM_NT_TRANSACT_SECONDARY);
                }
                // totalParameterCount and totalDataCount are set ok from primary
    
                this.parameterOffset = SECONDARY_PARAMETER_OFFSET;
                if (this.totalParameterCount - this.parameterDisplacement > 0) {
                    this.pad1 = this.pad(this.parameterOffset);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        protected static final String CRAWLER_CLIENTS = "crawlerClients";
    
        /** HTTP status code for Not Found */
        private static final int HTTP_STATUS_NOT_FOUND = 404;
    
        /** HTTP status code for OK */
        private static final int HTTP_STATUS_OK = 200;
    
        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        ) {
          val url = "http://example.com/websocket"
          val response =
            Response
              .Builder()
              .code(101)
              .message("OK")
              .request(Request.Builder().url(url).build())
              .headers(responseHeaders!!)
              .protocol(Protocol.HTTP_1_1)
              .build()
          webSocket =
            RealWebSocket(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            try {
                buildQuery("sort:timestamp.xxx");
                fail();
            } catch (InvalidQueryException e) {
                // ok
            }
    
            try {
                buildQuery("sort:aaa");
                fail();
            } catch (InvalidQueryException e) {
                // ok
            }
        }
    
        @Test
        public void test_build_fuzzy() {
            setQueryType("bool");
            assertQueryContext(
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 53.2K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/openapi-callbacks.md

    ```
    
    JSON ボディは次のような内容です:
    
    ```JSON
    {
        "description": "Payment celebration",
        "paid": true
    }
    ```
    
    そして *外部 API* からは次のような JSON ボディのレスポンスを期待します:
    
    ```JSON
    {
        "ok": true
    }
    ```
    
    /// tip | 豆知識
    
    使用されるコールバック URL には、クエリパラメータ `callback_url`(`https://www.external.org/events`)で受け取った URL と、JSON ボディ内の請求書 `id`(`2expen51ve`)が含まれている点に注目してください。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 9.3K bytes
    - Click Count (0)
Back to Top