Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for func_names (0.19 sec)

  1. src/bytes/bytes_test.go

    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    		a := []byte(test.a)
    		b := []byte(test.b)
    		actual := f(a, b)
    		if actual != test.i {
    			t.Errorf("%s(%q,%q) = %v; want %v", funcName, a, b, actual, test.i)
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    		traceType = madmin.TraceBatchExpire
    	}
    	funcName := fmt.Sprintf("%s() (job-name=%s)", d.String(), job)
    	if attempts > 0 {
    		funcName = fmt.Sprintf("%s() (job-name=%s,attempts=%s)", d.String(), job, humanize.Ordinal(attempts))
    	}
    	return madmin.TraceInfo{
    		TraceType: traceType,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  funcName,
    		Duration:  duration,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			if fields := strings.Fields(l); len(fields) == 3 {
    				directive := fields[1]
    				funcName := fields[2]
    				if directive == "nocallback" {
    					fatalf("#cgo nocallback disabled until Go 1.23")
    					f.NoCallbacks[funcName] = true
    				} else if directive == "noescape" {
    					fatalf("#cgo noescape disabled until Go 1.23")
    					f.NoEscapes[funcName] = true
    				}
    			}
    		}
    	}
    	f.Preamble = strings.Join(linesOut, "\n")
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top