Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 74 for getSources (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache.remove("a")
      }
    
      @Test
      fun readingTheSameStreamMultipleTimes() {
        set("a", "a", "b")
        val snapshot = cache["a"]!!
        assertThat(snapshot.getSource(0)).isSameInstanceAs(snapshot.getSource(0))
        snapshot.close()
      }
    
      @Test
      fun rebuildJournalOnRepeatedReads() {
        set("a", "a", "a")
        set("b", "b", "b")
        while (taskFaker.isIdle()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  2. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  3. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

         */
        public String getId() {
            return id;
        }
    
        /**
         * Returns the source map of the suggest item.
         * @return The source map.
         */
        public Map<String, Object> getSource() {
            return SuggestItemSerializer.toSource(this);
        }
    
        /**
         * Parses a source map and returns a SuggestItem instance.
         * @param source The source map.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            if (!getResponse.isExists()) {
                return null;
            }
            final Map<String, Object> map = getResponse.getSource();
            return map.get(key);
        }
    
        private <T> T getAs(final String key, final T defaultValue, final Function<String, T> parser) {
            final Object obj = get(key);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  7. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
  9. api/maven-api-model/src/main/mdo/maven.mdo

            getDelegate().setSource(source);
        }
    
        public String getSource() {
            return getDelegate().getSource();
        }
    
        /**
         * @see java.lang.Object#toString()
         */
        public String toString() {
            return "Profile {id: " + getId() + ", source: " + getSource() + "}";
        }
                ]]>
              </code>
            </codeSegment>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
  10. api/maven-api-settings/src/main/mdo/settings.mdo

            <codeSegment>
              <version>2.0.0+</version>
              <code>
    
        @Override
        public String toString() {
            return getLineNumber() + " : " + getColumnNumber() + ", " + getSource();
        }
              </code>
            </codeSegment>
          </codeSegments>
        </class>
        <class sourceTracker="source">
          <name>InputSource</name>
          <version>2.0.0+</version>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
Back to Top