Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1331 - 1340 of 2,219 for check (0.02 seconds)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            // Should not throw NullPointerException
            try {
                // Note: We can't easily test connect() fully without mocking createClient()
                // This test verifies the null check logic indirectly
                final String[] indices = fesenClient.targetIndices != null ? fesenClient.targetIndices : new String[0];
                assertNotNull(indices);
                assertEquals(0, indices.length);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.17.md

    - Upon successful authorization check, an impersonated user is added to the system:authenticated group.
      system:anonymous when impersonated is added to the system:unauthenticated group. ([#94410](https://github.com/kubernetes/kubernetes/pull/94410), [@tkashem](https://github.com/tkashem)) [SIG API Machinery and Testing]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Jan 28 10:44:33 GMT 2021
    - 346.2K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

                current = current.getCause();
            }
            return buf.toString();
        }
    
        /**
         * Checks if a checkbox value represents an enabled state.
         * This method considers "on" and "true" (case-insensitive) as enabled values.
         *
         * @param value the checkbox value to check
         * @return true if the value represents an enabled checkbox, false otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/security/simple-oauth2.md

    現在,從(假的)資料庫裡用表單欄位的 `username` 取得使用者資料。
    
    如果沒有該使用者,就回傳「Incorrect username or password」的錯誤。
    
    我們用 `HTTPException` 這個例外來回傳錯誤:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *}
    
    ### 檢查密碼 { #check-the-password }
    
    這時我們已經有來自資料庫的使用者資料,但還沒檢查密碼。
    
    先把那些資料放進 Pydantic 的 `UserInDB` 模型。
    
    你絕對不要以純文字儲存密碼,所以我們會使用(假的)密碼雜湊系統。
    
    如果密碼不匹配,我們回傳同樣的錯誤。
    
    #### 密碼雜湊(hashing) { #password-hashing }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            };
        try {
          hmacMd5(badKey);
          fail();
        } catch (IllegalArgumentException expected) {
        } catch (NullPointerException toleratedOnAndroid) {
          // TODO(cpovirk): In an ideal world, we'd check here that we're running on Android.
        }
      }
    
      public void testEmptyInputs() throws Exception {
        String knownOutput = "8cbf764cbe2e4623d99a41354adfd390";
    
        Mac mac = Mac.getInstance("HmacMD5");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
        for (E element : elements) {
          // Explicit null check because TreeSet wrongly accepts add(null) when empty.
          set.add(checkNotNull(element));
        }
        return set;
      }
    
      public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                }
    
                assertDoesNotThrow(() -> {
                    info.decode(buffer, 0, buffer.length);
                });
    
                // Capacity should not be negative (overflow check)
                assertTrue(info.getCapacity() != 0);
            }
    
            @Test
            @DisplayName("Should decode efficiently for large buffers")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  8. internal/grid/manager.go

    	}
    	writeErr(remote.handleIncoming(ctx, conn, cReq))
    }
    
    // AuthFn should provide an authentication string for the given aud.
    type AuthFn func() string
    
    // ValidateAuthFn should check authentication for the given aud.
    type ValidateAuthFn func(auth string) string
    
    // Connection will return the connection for the specified host.
    // If the host does not exist nil will be returned.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 12 20:41:41 GMT 2024
    - 10.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            }
            if (value != null) {
                return new String[] { value.toString() };
            }
    
            return new String[0];
        }
    
        /**
         * Check if the search word is excluded.
         * @param searchWord Search word
         * @param field Field
         * @param langs Languages
         * @param analyzer Analyzer
         * @return True if the search word is excluded
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          apply {
            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
            val contentEncoding = headers["Content-Encoding"]
            check(contentEncoding == null) {
              "Content-Encoding already set: $contentEncoding"
            }
    
            headers.add("Content-Encoding", "gzip")
            body = GzipRequestBody(identityBody)
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
Back to Top