Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getTrace (0.11 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                RepositorySystemSession session, ArtifactDescriptorRequest request, ArtifactDescriptorResult result)
                throws ArtifactDescriptorException {
            RequestTrace trace = RequestTrace.newChild(request.getTrace(), request);
    
            LinkedHashSet<String> visited = new LinkedHashSet<>();
            for (Artifact a = request.getArtifact(); ; ) {
                Artifact pomArtifact = ArtifactDescriptorUtils.toPomArtifactUnconditionally(a);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. internal/logger/logger.go

    		file = trimTrace(file)
    		_, funcName := filepath.Split(runtime.FuncForPC(pc).Name())
    		return fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName)
    	}
    	return ""
    }
    
    // getTrace method - creates and returns stack trace
    func getTrace(traceLevel int) []string {
    	var trace []string
    	pc, file, lineNumber, ok := runtime.Caller(traceLevel)
    
    	for ok && file != "" {
    		// Clean up the common prefixes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

        @Override
        public VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request)
                throws VersionResolutionException {
            RequestTrace trace = RequestTrace.newChild(request.getTrace(), request);
    
            Artifact artifact = request.getArtifact();
    
            String version = artifact.getVersion();
    
            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

        }
    
        private Map<String, ArtifactRepository> getVersions(
                RepositorySystemSession session, VersionRangeResult result, VersionRangeRequest request) {
            RequestTrace trace = RequestTrace.newChild(request.getTrace(), request);
    
            Map<String, ArtifactRepository> versionIndex = new HashMap<>();
    
            Metadata metadata = new DefaultMetadata(
                    request.getArtifact().getGroupId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            requireNonNull(event, "event cannot be null");
    
            if (!isLocalRepositoryArtifactOrMissing(event.getSession(), event.getArtifact())) {
                return;
            }
    
            RequestTrace trace = event.getTrace();
    
            CollectStepData collectStepTrace = null;
            ArtifactRequest artifactRequest = null;
            ArtifactDescriptorRequest artifactDescriptorRequest = null;
            Plugin plugin = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            Artifact pomArtifact = new DefaultArtifact(groupId, artifactId, "", "pom", version);
    
            try {
                ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context);
                request.setTrace(trace);
                pomArtifact = resolver.resolveArtifact(session, request).getArtifact();
            } catch (ArtifactResolutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                    LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), repoSystem);
    
            InstallRequest request = new InstallRequest();
    
            request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject()));
    
            org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact);
            mainArtifact = mainArtifact.setFile(source);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                    LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), repoSystem);
    
            DeployRequest request = new DeployRequest();
    
            request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject()));
    
            org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact);
            mainArtifact = mainArtifact.setFile(source);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testSimpleRateUpdate() {
        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testSimpleRateUpdate() {
        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(-10.0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top