Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for __file__ (0.05 seconds)

  1. scripts/mkdocs_hooks.py

        return missing_translation_path.read_text(encoding="utf-8")
    
    
    @lru_cache
    def get_mkdocs_material_langs() -> list[str]:
        material_path = Path(material.__file__).parent
        material_langs_path = material_path / "templates" / "partials" / "languages"
        langs = [file.stem for file in material_langs_path.glob("*.html")]
        return langs
    
    
    class EnFile(File):
        pass
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. scripts/translate.py

                missing_paths.append(path)
        print(missing_paths)
        return missing_paths
    
    
    @app.command()
    def list_outdated(language: str) -> list[Path]:
        dir_path = Path(__file__).absolute().parent.parent
        repo = git.Repo(dir_path)
    
        outdated_paths: list[Path] = []
        en_lang_paths = list(iter_en_paths_to_translate())
        for path in en_lang_paths:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  3. scripts/docs.py

        new_alternate: list[dict[str, str]] = []
        # Language names sourced from https://quickref.me/iso-639-1
        # Contributors may wish to update or change these, e.g. to fix capitalization.
        language_names_path = Path(__file__).parent / "../docs/language_names.yml"
        local_language_names: dict[str, str] = mkdocs.utils.yaml_load(
            language_names_path.read_text(encoding="utf-8")
        )
        for lang_path in get_lang_paths():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  4. fastapi/openapi/utils.py

            message = (
                f"Duplicate Operation ID {operation_id} for function "
                + f"{route.endpoint.__name__}"
            )
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
            warnings.warn(message, stacklevel=1)
        operation_ids.add(operation_id)
        operation["operationId"] = operation_id
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  5. configure.py

      global _TF_BAZELRC
      global _TF_CURRENT_BAZEL_VERSION
    
      parser = argparse.ArgumentParser()
      parser.add_argument(
          '--workspace',
          type=str,
          default=os.path.abspath(os.path.dirname(__file__)),
          help='The absolute path to your active Bazel workspace.')
      args = parser.parse_args()
    
      _TF_WORKSPACE_ROOT = args.workspace
      _TF_BAZELRC = os.path.join(_TF_WORKSPACE_ROOT, _TF_BAZELRC_FILENAME)
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Apr 30 15:18:54 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  6. tensorflow/c/c_api_test.cc

        TF_DeleteTensor(dst);
      }
    }
    
    TEST(CAPI, TensorEncodeDecodeStrings) {
      TestEncodeDecode(__LINE__, {});
      TestEncodeDecode(__LINE__, {"hello"});
      TestEncodeDecode(__LINE__,
                       {"the", "quick", "brown", "fox", "jumped", "over"});
    
      string big(1000, 'a');
      TestEncodeDecode(__LINE__, {"small", big, "small2"});
    }
    
    TEST(CAPI, SessionOptions) {
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            final String template = """
                    {"source":{"index":"__SOURCE_INDEX__","size":__SIZE__},"dest":{"index":"__DEST_INDEX__"}}
                    """;
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String source = template //
                    .replace("__SOURCE_INDEX__", fromIndex)//
                    .replace("__SIZE__", fessConfig.getIndexReindexSize())//
                    .replace("__DEST_INDEX__", toIndex);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 122.4K bytes
    - Click Count (1)
  8. src/main/resources/fess_config.properties

    image/tiff=tiff\n\
    image/jpeg=jpg\n\
    
    # Number of documents to process per reindex operation.
    index.reindex.size=100
    # Request body template for reindex operations.
    index.reindex.body={"source":{"index":"__SOURCE_INDEX__","size":__SIZE__},"dest":{"index":"__DEST_INDEX__"},"script":{"source":"__SCRIPT_SOURCE__"}}
    # Requests per second for reindex operations ("adaptive" for auto).
    index.reindex.requests_per_second=adaptive
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 54.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. 100 */
        String INDEX_REINDEX_SIZE = "index.reindex.size";
    
        /** The key of the configuration. e.g. {"source":{"index":"__SOURCE_INDEX__","size":__SIZE__},"dest":{"index":"__DEST_INDEX__"},"script":{"source":"__SCRIPT_SOURCE__"}} */
        String INDEX_REINDEX_BODY = "index.reindex.body";
    
        /** The key of the configuration. e.g. adaptive */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 525.7K bytes
    - Click Count (2)
Back to Top