Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 125 for getResource (0.08 sec)

  1. 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)
  2. 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)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Model out = interpolator.interpolateModel(model, (Path) 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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. istioctl/pkg/multixds/gather.go

    		if err != nil {
    			return nil, fmt.Errorf("could not get XDS from the agent pod %q: %v", pod.Name, err)
    		}
    		for _, resource := range response.GetResources() {
    			switch resource.GetTypeUrl() {
    			case "type.googleapis.com/envoy.service.status.v3.ClientConfig":
    				clientConfig := xdsstatus.ClientConfig{}
    				err := resource.UnmarshalTo(&clientConfig)
    				if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K 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. 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>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  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