Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for get_deps (0.04 sec)

  1. src/main/java/jcifs/util/Crypto.java

         *
         * @param key
         *            7 or 8 byte DES key
         * @return DES cipher in encryption mode
         */
        public static Cipher getDES(final byte[] key) {
            if (key.length == 7) {
                return getDES(des7to8(key));
            }
    
            try {
                final Cipher c = Cipher.getInstance("DES/ECB/NoPadding");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. scripts/deploy_docs_status.py

        logging.basicConfig(level=logging.INFO)
        settings = Settings()
    
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(auth=Auth.Token(settings.github_token.get_secret_value()))
        repo = g.get_repo(settings.github_repository)
        use_pr = next(
            (pr for pr in repo.get_pulls() if pr.head.sha == settings.commit_sha), None
        )
        if not use_pr:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 05:56:53 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. scripts/topic_repos.py

        logging.basicConfig(level=logging.INFO)
        settings = Settings()
    
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value(), per_page=100)
        r = g.get_repo(settings.github_repository)
        repos = g.search_repositories(query="topic:fastapi")
        repos_list = list(repos)
        final_repos: list[Repo] = []
        for repo in repos_list[:100]:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. scripts/sponsors.py

    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.pr_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
    
        tiers = get_individual_sponsors(settings=settings)
        keys = list(tiers.keys())
        keys.sort(reverse=True)
        sponsors = []
        for key in keys:
            sponsor_group = []
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. scripts/contributors.py

    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
    
        pr_nodes = get_pr_nodes(settings=settings)
        contributors_results = get_contributors(pr_nodes=pr_nodes)
        authors = contributors_results.authors
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. scripts/notify_translations.py

        else:
            logging.basicConfig(level=logging.INFO)
        logging.debug(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
        if not settings.github_event_path.is_file():
            raise RuntimeError(
                f"No github event file available at: {settings.github_event_path}"
            )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. scripts/people.py

    def main() -> None:
        logging.basicConfig(level=logging.INFO)
        settings = Settings()
        logging.info(f"Using config: {settings.model_dump_json()}")
        g = Github(settings.github_token.get_secret_value())
        repo = g.get_repo(settings.github_repository)
    
        discussion_nodes = get_discussion_nodes(settings=settings)
        experts_results = get_discussions_experts(discussion_nodes=discussion_nodes)
    
        authors = experts_results.authors
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/CryptoTest.java

            // Given
            byte[] key = "testkey1".getBytes(); // 8 bytes for DES
            byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size)
    
            // When
            Cipher desCipher = Crypto.getDES(key);
            desCipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "DES"));
            byte[] encrypted = desCipher.doFinal(plaintext);
    
            // Then
            assertNotNull(encrypted);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmUtil.java

            final byte[] e8 = new byte[8];
    
            for (int i = 0; i < key.length / 7; i++) {
                System.arraycopy(key, i * 7, key7, 0, 7);
                final Cipher des = Crypto.getDES(key7);
                des.update(data, 0, data.length, e8);
                System.arraycopy(e8, 0, e, i * 8, 8);
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. scripts/translate.py

        print("Pushing branch")
        subprocess.run(["git", "push", "origin", branch_name], check=True)
        print("Creating PR")
        g = Github(github_token)
        gh_repo = g.get_repo(github_repository)
        body = (
            message
            + "\n\nThis PR was created automatically using LLMs."
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top