Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 167 for trace (0.02 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java

     *   <li>Supports both internal session operations and client-provided trace information</li>
     * </ul>
     *
     * <p>For internal session operations, the trace typically contains {@code *Request} objects
     * that represent the current processing state. Client code can also create traces with
     * application-specific data to provide context when invoking session methods.</p>
     *
     * <p>This trace information is particularly useful for:</p>
     * <ul>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. internal/logger/target/console/console.go

    		return nil
    	}
    
    	traceLength := len(entry.Trace.Source)
    	trace := make([]string, traceLength)
    
    	// Add a sequence number and formatting for each stack trace
    	// No formatting is required for the first entry
    	for i, element := range entry.Trace.Source {
    		trace[i] = fmt.Sprintf("%8v: %s", traceLength-i, element)
    	}
    
    	tagString := ""
    	for key, value := range entry.Trace.Variables {
    		if value != "" {
    			if tagString != "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

            }
    
            /**
             * Sets the request trace for this request.
             * The trace is used for debugging and monitoring purposes.
             *
             * @param trace the request trace
             * @return this builder instance
             */
            public ProjectBuilderRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. internal/logger/logger.go

    		if !strings.HasPrefix(file, "<autogenerated>") &&
    			!strings.HasPrefix(funcName, "runtime.") {
    			// Form and append a line of stack trace into a
    			// collection, 'trace', to build full stack trace
    			trace = append(trace, fmt.Sprintf("%v:%v:%v()", file, lineNumber, funcName))
    
    			// Ignore trace logs beyond the following conditions
    			for _, name := range matchingFuncNames {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            public ModelBuilderRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            public ModelBuilderRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            public ModelBuilderRequestBuilder requestType(RequestType requestType) {
                this.requestType = requestType;
                return this;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  6. tests/lru_test.go

    	l := lru.NewLRU[int64, int64](8192, nil, 0)
    
    	trace := make([]int64, b.N*2)
    	for i := 0; i < b.N*2; i++ {
    		if i%2 == 0 {
    			trace[i] = getRand(b) % 16384
    		} else {
    			trace[i] = getRand(b) % 32768
    		}
    	}
    
    	b.ResetTimer()
    
    	for i := 0; i < b.N; i++ {
    		l.Add(trace[i], trace[i])
    	}
    	var hit, miss int
    	for i := 0; i < b.N; i++ {
    		if _, ok := l.Get(trace[i]); ok {
    			hit++
    		} else {
    			miss++
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  7. logger/slog.go

    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    
    	case l.SlowThreshold != 0 && elapsed > l.SlowThreshold:
    		l.log(ctx, slog.LevelWarn, "SQL executed", slog.Attr{
    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    
    	case l.LogLevel >= Info:
    		l.log(ctx, slog.LevelInfo, "SQL executed", slog.Attr{
    			Key:   "trace",
    			Value: slog.GroupValue(fields...),
    		})
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

            public ArtifactFactoryRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            public ArtifactFactoryRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            public ArtifactFactoryRequestBuilder groupId(String groupId) {
                this.groupId = groupId;
                return this;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                this.session = session;
                return this;
            }
    
            public DependencyCoordinatesFactoryRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            public DependencyCoordinatesFactoryRequestBuilder groupId(String groupId) {
                this.groupId = groupId;
                return this;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                RepositorySystemSession session,
                RequestTrace trace,
                String context,
                ArtifactResolver resolver,
                VersionRangeResolver versionRangeResolver,
                RemoteRepositoryManager remoteRepositoryManager,
                List<RemoteRepository> repositories) {
            this.session = session;
            this.trace = trace;
            this.context = context;
            this.resolver = resolver;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top