Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 82 for fn (0.01 seconds)

  1. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

      private fun response(
        url: String,
        bodyHex: ByteString,
        fn: Response.Builder.() -> Unit = {},
      ): Response =
        Response
          .Builder()
          .body(bodyHex.toResponseBody("text/plain".toMediaType()))
          .code(200)
          .message("OK")
          .request(Request.Builder().url(url).build())
          .protocol(Protocol.HTTP_2)
          .apply(fn)
          .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 22 08:12:58 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. cmd/utils.go

    	switch madmin.ProfilerType(profilerType) {
    	case madmin.ProfilerCPU:
    		dirPath, err := os.MkdirTemp("", "profile")
    		if err != nil {
    			return nil, err
    		}
    		fn := filepath.Join(dirPath, "cpu.out")
    		f, err := Create(fn)
    		if err != nil {
    			return nil, err
    		}
    		err = pprof.StartCPUProfile(f)
    		if err != nil {
    			return nil, err
    		}
    		prof.stopFn = func() ([]byte, error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  3. src/main/webapp/js/help.js

      var $searchButton = $("#searchButton");
      var contextPath = $("#contextPath").val();
      var BUTTON_DISABLE_DURATION = 3000;
    
      var SUGGESTOR_CONFIG = {
        ajaxinfo: {
          url: contextPath + "/api/v1/suggest-words",
          fn: ["_default", "content", "title"],
          num: 10,
          lang: $("#langSearchOption").val()
        },
        boxCssInfo: {
          border: "1px solid rgba(82, 168, 236, 0.5)",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:12:50 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. internal/grid/benchmark_test.go

    				}
    			})
    		}
    	})
    }
    
    func BenchmarkStream(b *testing.B) {
    	tests := []struct {
    		name string
    		fn   func(b *testing.B, n int)
    	}{
    		{name: "request", fn: benchmarkGridStreamReqOnly},
    		{name: "responses", fn: benchmarkGridStreamRespOnly},
    		{name: "twoway", fn: benchmarkGridStreamTwoway},
    	}
    	for _, test := range tests {
    		b.Run(test.name, func(b *testing.B) {
    			for n := 2; n <= 32; n *= 2 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  5. src/cmd/addr2line/main.go

    			fmt.Fprintf(stdout, "!reverse translation not implemented\n")
    			continue
    		}
    		pc, _ := strconv.ParseUint(strings.TrimPrefix(p, "0x"), 16, 64)
    		file, line, fn := tab.PCToLine(pc)
    		name := "?"
    		if fn != nil {
    			name = fn.Name
    		} else {
    			file = "?"
    			line = 0
    		}
    		fmt.Fprintf(stdout, "%s\n%s:%d\n", name, file, line)
    	}
    	stdout.Flush()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Jun 21 19:58:04 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. cmd/object_api_suite_test.go

    	GlobalKMS = nil
    }
    
    func execExtended(t *testing.T, fn func(t *testing.T, init func(), bucketOptions MakeBucketOptions)) {
    	// Exec with default settings...
    	resetCompressEncryption()
    	t.Run("default", func(t *testing.T) {
    		fn(t, nil, MakeBucketOptions{})
    	})
    	t.Run("default+versioned", func(t *testing.T) {
    		fn(t, nil, MakeBucketOptions{VersioningEnabled: true})
    	})
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  7. cmd/os-instrumented.go

    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    func Fdatasync(f *os.File) (err error) {
    	fn := ""
    	if f != nil {
    		fn = f.Name()
    	}
    	defer updateOSMetrics(osMetricFdatasync, fn)(err)
    	return disk.Fdatasync(f)
    }
    
    // report returns all os metrics.
    func (o *osMetrics) report() madmin.OSMetrics {
    	var m madmin.OSMetrics
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. cmd/xl-storage-disk-id-check.go

    	t := time.NewTicker(5 * time.Second)
    	defer t.Stop()
    
    	for range t.C {
    		if contextCanceled(p.diskCtx) {
    			return
    		}
    
    		err := p.storage.WriteAll(context.Background(), minioMetaTmpBucket, fn, toWrite)
    		if err != nil {
    			continue
    		}
    
    		b, err := p.storage.ReadAll(context.Background(), minioMetaTmpBucket, fn)
    		if err != nil || len(b) != len(toWrite) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  9. src/main/webapp/js/index.js

      var $searchButton = $("#searchButton");
      var contextPath = $("#contextPath").val();
      var BUTTON_DISABLE_DURATION = 3000;
    
      var SUGGESTOR_CONFIG = {
        ajaxinfo: {
          url: contextPath + "/api/v1/suggest-words",
          fn: ["_default", "content", "title"],
          num: 10,
          lang: $("#langSearchOption").val()
        },
        boxCssInfo: {
          border: "1px solid rgba(82, 168, 236, 0.5)",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  10. src/main/webapp/js/advance.js

      var $searchButton = $("#searchButton");
      var contextPath = $("#contextPath").val();
      var BUTTON_DISABLE_DURATION = 3000;
    
      var SUGGESTOR_CONFIG = {
        ajaxinfo: {
          url: contextPath + "/api/v1/suggest-words",
          fn: ["_default", "content", "title"],
          num: 10,
          lang: $("#langSearchOption").val()
        },
        boxCssInfo: {
          border: "1px solid rgba(82, 168, 236, 0.5)",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:12:50 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top