Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2181 - 2190 of 2,445 for checks (0.04 seconds)

  1. internal/kms/kes.go

    			return nil, ErrDecrypt
    		}
    		if errors.Is(err, kes.ErrNotAllowed) {
    			return nil, ErrPermission
    		}
    		return nil, errDecryptionFailed(err)
    	}
    	return plaintext, nil
    }
    
    // MAC generates the checksum of the given req.Message using the key
    // with the req.Name at the KMS.
    func (c *kesConn) MAC(ctx context.Context, req *MACRequest) ([]byte, error) {
    	mac, err := c.client.HMAC(context.Background(), req.Name, req.Message)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                if (headerNameIndex in 2..7) {
                  // Only search a subset of the static header table. Most entries have an empty value, so
                  // it's unnecessary to waste cycles looking at them. This check is built on the
                  // observation that the header entries we care about are in adjacent pairs, and we
                  // always know the first index of the pair.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

       *
       * [rfc_8017]: https://tools.ietf.org/html/rfc8017
       * [rfc_7468]: https://tools.ietf.org/html/rfc7468
       */
      fun privateKeyPkcs1Pem(): String {
        check(keyPair.private is RSAPrivateKey) { "PKCS1 only supports RSA keys" }
        return buildString {
          append("-----BEGIN RSA PRIVATE KEY-----\n")
          encodeBase64Lines(pkcs1Bytes())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      public void checkSameResult(HashCode hashCode, long equivLong) {
        assertEquals(Hashing.consistentHash(equivLong, 5555), Hashing.consistentHash(hashCode, 5555));
      }
    
      /**
       * Check a few "golden" values to see that implementations across languages are equivalent.
       *
       */
      public void testConsistentHash_linearCongruentialGeneratorCompatibility() {
        int[] golden100 = {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  5. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                        startedCrawlerNum++;
                        activeCrawlerNum++;
                        ThreadUtil.sleep(crawlingExecutionInterval);
                        continue;
                    }
    
                    // check status
                    for (int i = 0; i < startedCrawlerNum; i++) {
                        if (crawlerList.get(i).getCrawlerContext().getStatus() == CrawlerStatus.DONE
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            protwordsFile.reload(null);
    
            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100);
    
            // The file parsing may treat the escaped sequences differently
            // Check what we actually got
            assertTrue("Should have at least 3 items", list.size() >= 3);
    
            // Find and verify the expected items
            boolean foundTab = false;
            boolean foundNewline = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  7. docs/de/docs/advanced/security/oauth2-scopes.md

    Diese werden für jede *Pfadoperation* unabhängig überprüft.
    
    ## Es testen { #check-it }
    
    Wenn Sie die API-Dokumentation öffnen, können Sie sich authentisieren und angeben, welche Scopes Sie autorisieren möchten.
    
    <img src="/img/tutorial/security/image11.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/security/simple-oauth2.md

    해당 사용자가 없으면 "잘못된 사용자 이름 또는 패스워드"라는 오류가 반환됩니다.
    
    오류의 경우 `HTTPException` 예외를 사용합니다:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[3,79:81] *}
    
    ### 패스워드 확인하기 { #check-the-password }
    
    이 시점에서 데이터베이스의 사용자 데이터 형식을 확인했지만 암호를 확인하지 않았습니다.
    
    먼저 데이터를 Pydantic `UserInDB` 모델에 넣겠습니다.
    
    일반 텍스트 암호를 저장하면 안 되니 (가짜) 암호 해싱 시스템을 사용합니다.
    
    두 패스워드가 일치하지 않으면 동일한 오류가 반환됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  9. internal/rest/client.go

    		c.dumpHTTP(req, resp)
    	}
    
    	if resp.StatusCode != http.StatusOK {
    		// If server returns 412 pre-condition failed, it would
    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    		// 403, but in situations where there is a dependency
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(runtimeException, exception.getCause());
        }
    
        @Test
        public void test_constructorWithThrowableCause_CheckedException() {
            // Test with checked exception
            String message = "SSO I/O error";
            java.io.IOException ioException = new java.io.IOException("Network connection failed");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
Back to Top