- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 118 for getResource (0.23 seconds)
-
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) -
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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
Model out = interpolator.interpolateModel(model, null, createModelBuildingRequest(context), collector); assertCollectorState(0, 0, 0, collector); List<Resource> outResources = out.getBuild().getResources(); Iterator<Resource> resIt = outResources.iterator(); assertEquals(model.getBuild().getSourceDirectory(), resIt.next().getDirectory()); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 18.2K bytes - Click Count (0) -
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) -
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) -
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) -
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) -
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) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java
} @Override protected void mergeBuildBase_Resources( BuildBase target, BuildBase source, boolean sourceDominant, Map<Object, Object> context) { if (sourceDominant || target.getResources().isEmpty()) { super.mergeBuildBase_Resources(target, source, sourceDominant, context); } } @Override protected void mergeBuildBase_TestResources(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 21.7K bytes - Click Count (0) -
cmd/server-main.go
func bootstrapTraceMsg(msg string) { info := madmin.TraceInfo{ TraceType: madmin.TraceBootstrap, Time: UTCNow(), NodeName: globalLocalNodeName, FuncName: "BOOTSTRAP", Message: fmt.Sprintf("%s %s", getSource(2), msg), } globalBootstrapTracer.Record(info) if serverDebugLog { fmt.Println(time.Now().Round(time.Millisecond).Format(time.RFC3339), " bootstrap: ", msg) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4)