Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 77 for getSource (0.06 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

            this.source = source;
            this.model = model;
            setGroupId(groupId);
            setArtifactId(artifactId);
            setVersion(version);
        }
    
        public ModelSource getSource() {
            return source;
        }
    
        /**
         * Gets the model being wrapped.
         *
         * @return The model or {@code null} if not set.
         */
        public Model getModel() {
            return model;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

                return null;
            }
    
            List<MetadataGraphEdge> res = new ArrayList<>(edges.size());
    
            for (MetadataGraphEdge e : edges) {
                if (e.getSource().equals(vFrom)) {
                    res.add(e);
                }
            }
    
            return res;
        }
        // ------------------------------------------------------------------------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .filter(p -> p.getLocation("version") != null
                                && p.getLocation("version").getSource() != null
                                && defaulModelId.equals(
                                        p.getLocation("version").getSource().getModelId()))
                        .distinct()
                        .map(Plugin::getArtifactId) // managed by us, groupId is always o.a.m.plugins
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  4. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

          <codeSegments>
            <codeSegment>
              <version>1.2.0+</version>
              <code>
    
        @Override
        public String toString() {
            return getLineNumber() + " : " + getColumnNumber() + ", " + getSource();
        }
              </code>
            </codeSegment>
          </codeSegments>
        </class>
        <class sourceTracker="source">
          <name>InputSource</name>
          <version>1.2.0+</version>
          <fields>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun removeAbsentElement() {
        cache.remove("a")
      }
    
      @Test
      fun readingTheSameStreamMultipleTimes() {
        set("a", "a", "b")
        val snapshot = cache["a"]!!
        assertThat(snapshot.getSource(0)).isSameAs(snapshot.getSource(0))
        snapshot.close()
      }
    
      @Test
      fun rebuildJournalOnRepeatedReads() {
        set("a", "a", "a")
        set("b", "b", "b")
        while (taskFaker.isIdle()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  6. cmd/sftp-server-driver.go

    			"cmd":    s.Method,
    			"param":  s.Filepath,
    			"source": source,
    		},
    	}
    }
    
    func (m *sftpMetrics) log(s *sftp.Request, user string) func(sz int64, err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(sz int64, err error) {
    		globalTrace.Publish(sftpTrace(s, startTime, source, user, err, sz))
    	}
    }
    
    // NewSFTPDriver initializes sftp.Handlers implementation of following interfaces
    //
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    synchronized class AbstractMojoExecutio extends Exception { protected Object source; protected String longMessage; public void AbstractMojoExecutio(String); public void AbstractMojoExecutio(String, Throwable); public String getLongMessage(); public Object getSource(); } org/apache/maven/plugin/ContextEnabled.class package org.apache.maven.plugin; public abstract interface ContextEnabled { public abstract void setPluginContext(java.util.Map); public abstract java.util.Map getPluginContext(); } org/apache/ma...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

            }
    
            if (mojoDescriptor.isOnlineRequired() && session.isOffline()) {
                if (MojoExecution.Source.CLI.equals(mojoExecution.getSource())) {
                    Throwable cause = new IllegalStateException(
                            "Goal requires online mode for execution" + " but Maven is currently offline.");
                    throw new LifecycleExecutionException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  9. cmd/ftp-server-driver.go

    			"login":  fmt.Sprintf("%t", s.Sess.IsLogin()),
    			"source": source,
    		},
    	}
    }
    
    func (m *ftpMetrics) log(s *ftp.Context, paths ...string) func(sz int64, err error) {
    	startTime := time.Now()
    	source := getSource(2)
    	return func(sz int64, err error) {
    		globalTrace.Publish(ftpTrace(s, startTime, source, strings.Join(paths, " "), err, sz))
    	}
    }
    
    // Stat implements ftpDriver
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. internal/logger/logger.go

    }
    
    func trimTrace(f string) string {
    	for _, trimString := range trimStrings {
    		f = strings.TrimPrefix(filepath.ToSlash(f), filepath.ToSlash(trimString))
    	}
    	return filepath.FromSlash(f)
    }
    
    func getSource(level int) string {
    	pc, file, lineNumber, ok := runtime.Caller(level)
    	if ok {
    		// Clean up the common prefixes
    		file = trimTrace(file)
    		_, funcName := filepath.Split(runtime.FuncForPC(pc).Name())
    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)
Back to Top