Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getPrefix (0.1 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          /** Synthetic response header: the local time when the request was sent. */
          private val SENT_MILLIS = "${Platform.get().getPrefix()}-Sent-Millis"
    
          /** Synthetic response header: the local time when the response was received. */
          private val RECEIVED_MILLIS = "${Platform.get().getPrefix()}-Received-Millis"
        }
      }
    
      private class CacheResponseBody(
        val snapshot: DiskLruCache.Snapshot,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      @Test
      fun testGoldenCacheHttpsResponseOkHttp27() {
        addFinalFailingResponse()
    
        val url = server.url("/")
        val urlKey = key(url)
        val prefix = get().getPrefix()
        val entryMetadata =
          """
          $url
          GET
          0
          HTTP/1.1 200 OK
          4
          Content-Length: 3
          $prefix-Received-Millis: ${System.currentTimeMillis()}
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  3. src/cmd/asm/main.go

    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/telemetry/counter"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    	counter.Open()
    
    	buildcfg.Check()
    	GOARCH := buildcfg.GOARCH
    
    	flags.Parse()
    	counter.Inc("asm/invocations")
    	counter.CountFlags("asm/flag:", *flag.CommandLine)
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Apr 02 17:07:18 GMT 2026
    - 3K bytes
    - Click Count (0)
Back to Top