Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 895 for python (0.05 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    #!/usr/bin/env python3
    # pylint:disable=protected-access
    #
    # Copyright 2022 The TensorFlow Authors. All Rights Reserved.
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/layout/ArtifactRepositoryLayout.java

     */
    @Deprecated
    public interface ArtifactRepositoryLayout {
        String ROLE = ArtifactRepositoryLayout.class.getName();
    
        String getId();
    
        String pathOf(Artifact artifact);
    
        String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository);
    
        String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                ArtifactRepository remoteRepository = remoteRepository();
                File deployedFile = new File(remoteRepository.getBasedir(), remoteRepository.pathOf(artifact));
                assertTrue(deployedFile.exists());
                assertEquals("dummy", new String(Files.readAllBytes(deployedFile.toPath()), StandardCharsets.UTF_8).trim());
            } finally {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

        private static final char GROUP_SEPARATOR = '.';
    
        private static final char ARTIFACT_SEPARATOR = '-';
    
        public String getId() {
            return "default";
        }
    
        public String pathOf(Artifact artifact) {
            ArtifactHandler artifactHandler = artifact.getArtifactHandler();
    
            StringBuilder path = new StringBuilder(128);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. common/scripts/kind_provisioner.sh

    }
    
    function cidr_to_ips() {
        CIDR="$1"
        # cidr_to_ips returns a list of single IPs from a CIDR. We skip 1000 (since they are likely to be allocated
        # already to other services), then pick the next 100.
        python3 - <<EOF
    from ipaddress import ip_network, IPv6Network;
    from itertools import islice;
    
    net = ip_network('$CIDR')
    net_bits = 128 if type(net) == IPv6Network else 32;
    net_len = pow(2, net_bits - net.prefixlen)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

        private static final char ARTIFACT_SEPARATOR = '-';
    
        private static final char GROUP_SEPARATOR = '.';
    
        public String getId() {
            return "flat";
        }
    
        public String pathOf(Artifact artifact) {
            ArtifactHandler artifactHandler = artifact.getArtifactHandler();
    
            StringBuilder path = new StringBuilder(128);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

     * IDE workspace.
     *
     * @deprecated Avoid use of this type, if you need access to local repository use repository system classes instead.
     */
    @Deprecated
    public interface ArtifactRepository {
        String pathOf(Artifact artifact);
    
        String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata);
    
        String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository);
    
        String getUrl();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public void updateVersion(String version, ArtifactRepository localRepository) {
            setResolvedVersion(version);
            setFile(new File(localRepository.getBasedir(), localRepository.pathOf(this)));
        }
    
        @Override
        public String getDownloadUrl() {
            return downloadUrl;
        }
    
        @Override
        public void setDownloadUrl(String downloadUrl) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                this.id = id;
                this.fallback = fallback;
            }
    
            public String getId() {
                return id;
            }
    
            public String pathOf(Artifact artifact) {
                return fallback.pathOf(artifact);
            }
    
            public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                Artifact artifact, ArtifactRepository repository, TransferListener downloadMonitor, boolean force)
                throws TransferFailedException, ResourceDoesNotExistException {
            String remotePath = repository.pathOf(artifact);
    
            ArtifactRepositoryPolicy policy = artifact.isSnapshot() ? repository.getSnapshots() : repository.getReleases();
    
            if (!policy.isEnabled()) {
                logger.debug(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top