Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for stringify (0.19 sec)

  1. build/pause/windows/pause.c

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    #include <windows.h>
    #include <stdio.h>
    #include <string.h>
    
    #define STRINGIFY(x) #x
    #define VERSION_STRING(x) STRINGIFY(x)
    
    #ifndef VERSION
    #define VERSION HEAD
    #endif
    
    BOOL WINAPI CtrlHandler(DWORD fdwCtrlType)
    {
    	switch (fdwCtrlType)
    	{
    	case CTRL_C_EVENT:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 13:09:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go

    		return nil, err
    	}
    	newData, err := json.Marshal(objCopy)
    	if err != nil {
    		return nil, err
    	}
    
    	return jsonpatch.CreateMergePatch(oldData, newData)
    }
    
    // parseCommandArguments will stringify and return all environment arguments ie. a command run by a client
    // using the factory.
    // Set showSecrets false to filter out stuff like secrets.
    func parseCommandArguments(cmd *cobra.Command) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/internal/trace/event/event.go

    	// is present, it is separated from the type with an underscore.
    	// The valid argument types and the Go types they map to are listed
    	// in the ArgTypes variable.
    	Args []string
    
    	// StringIDs indicates which of the arguments are string IDs.
    	StringIDs []int
    
    	// StackIDs indicates which of the arguments are stack IDs.
    	//
    	// The list is not sorted. The first index always refers to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/internal/trace/base.go

    type frequency float64
    
    // mul multiplies an unprocessed to produce a time in nanoseconds.
    func (f frequency) mul(t timestamp) Time {
    	return Time(float64(t) * float64(f))
    }
    
    // stringID is an index into the string table for a generation.
    type stringID uint64
    
    // extraStringID is an index into the extra string table for a generation.
    type extraStringID uint64
    
    // stackID is an index into the stack table for a generation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/testing/benchmark_test.go

    		b.ReportMetric(12345, "ns/op")
    		b.ReportMetric(0.2, "frobs/op")
    	})
    	// Test built-in overriding.
    	if res.NsPerOp() != 12345 {
    		t.Errorf("NsPerOp: expected %v, actual %v", 12345, res.NsPerOp())
    	}
    	// Test stringing.
    	res.N = 1 // Make the output stable
    	want := "       1\t     12345 ns/op\t         0.2000 frobs/op"
    	if want != res.String() {
    		t.Errorf("expected %q, actual %q", want, res.String())
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top