Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for getSource (0.15 sec)

  1. 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
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. 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())
    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. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun readingTheSameStreamMultipleTimes(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        set("a", "a", "b")
        val snapshot = cache["a"]!!
        assertThat(snapshot.getSource(0)).isSameAs(snapshot.getSource(0))
        snapshot.close()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun rebuildJournalOnRepeatedReads(parameters: Pair<FileSystem, Boolean>) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

        public void setSource(String source) {
            getDelegate().setSource(source);
        }
    
        public String getSource() {
            return getDelegate().getSource();
        }
    
        /**
         * @see java.lang.Object#toString()
         */
        public String toString() {
            return "Profile {id: " + getId() + ", source: " + getSource() + "}";
        }
                ]]>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            return map;
        }
    
        public String getId() {
            return id;
        }
    
        public Map<String, Object> getSource() {
            final Map<String, Object> map = new HashMap<>();
            map.put(FieldNames.TEXT, text);
    
            for (int i = 0; i < readings.length; i++) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final GetResponse response = getClient().get(c -> c.prepareGet().setIndex(index).setId(id).execute());
            if (response.isExists()) {
                final Map<String, Object> source = response.getSource();
                final T bean = BeanUtil.copyMapToNewBean(source, clazz, option -> {
                    option.converter(new EsTimestampConverter(), timestampFields).excludeWhitespace();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            profileActivationContext.setProjectProperties(inputModel.getDelegate().getProperties());
            problems.setSource(inputModel);
            List<Profile> activePomProfiles =
                    profileSelector.getActiveProfiles(inputModel.getProfiles(), profileActivationContext, problems);
    
            // model normalization
            problems.setSource(inputModel);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (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)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          this.sink.trailers = trailers
        }
      }
    
      fun readTimeout(): Timeout = readTimeout
    
      fun writeTimeout(): Timeout = writeTimeout
    
      /** Returns a source that reads data from the peer. */
      fun getSource(): Source = source
    
      /**
       * Returns a sink that can be used to write data to the peer.
       *
       * @throws IllegalStateException if this stream was initiated by the peer and a [writeHeaders] has
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

         */
        @Throws(IOException::class)
        fun edit(): Editor? = ******@****.***(key, sequenceNumber)
    
        /** Returns the unbuffered stream with the value for [index]. */
        fun getSource(index: Int): Source = sources[index]
    
        /** Returns the byte length of the value for [index]. */
        fun getLength(index: Int): Long = lengths[index]
    
        override fun close() {
          for (source in sources) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top