Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 156 for Lbrace (0.08 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder.go

    // for an open brace indicating this is JSON. It will return the
    // bufio.Reader it creates for the consumer.
    func GuessJSONStream(r io.Reader, size int) (io.Reader, []byte, bool) {
    	buffer := bufio.NewReaderSize(r, size)
    	b, _ := buffer.Peek(size)
    	return buffer, b, hasJSONPrefix(b)
    }
    
    // IsJSONBuffer scans the provided buffer, looking
    // for an open brace indicating this is JSON.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 10.2K bytes
    - Viewed (0)
  2. src/go/printer/testdata/comments.golden

    	i < 9;		/* comment after semicolon */
    	i++ {		// comment after opening curly brace
    	}
    
    	// TODO(gri) the last comment in this example should be aligned */
    	for i = 0;	// comment after semicolon
    	i < 9;		/* comment before semicolon - ok to move after semicolon */
    	i++ /* comment before opening curly brace */ {
    	}
    }
    
    // If there is no newline following punctuation, commas move before the punctuation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/benchmark_main.template

    // clang-format off
    #include "{{TFCOMPILE_HEADER}}"  // NOLINT(whitespace/braces)
    // clang-format on
    
    #include "tensorflow/compiler/aot/benchmark.h"
    #include "unsupported/Eigen/CXX11/Tensor"
    
    // Macros that expand to tokens based on the entry point name.
    // clang-format off
    #define CPP_CLASS {{TFCOMPILE_CPP_CLASS}}  // NOLINT(whitespace/braces)
    // clang-format on
    
    namespace tensorflow {
    namespace tfcompile {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:05:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. src/runtime/internal/sys/consts_norace.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !race
    
    package sys
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 208 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/race.go

    // to) trigger compiler data races, so they will be exercised on
    // the racecompile builder.
    //
    // This package is not imported so functions here are not included
    // in the actual compiler.
    
    // Issue 55357: data race when building multiple instantiations of
    // generic closures with _ parameters.
    func Issue55357() {
    	type U struct {
    		A int
    		B string
    		C string
    	}
    	var q T55357[U]
    	q.Count()
    	q.List()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 20 22:16:41 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/plan9/race.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build plan9 && race
    
    package plan9
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    const raceenabled = true
    
    func raceAcquire(addr unsafe.Pointer) {
    	runtime.RaceAcquire(addr)
    }
    
    func raceReleaseMerge(addr unsafe.Pointer) {
    	runtime.RaceReleaseMerge(addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 587 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/race.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build windows && race
    
    package windows
    
    import (
    	"runtime"
    	"unsafe"
    )
    
    const raceenabled = true
    
    func raceAcquire(addr unsafe.Pointer) {
    	runtime.RaceAcquire(addr)
    }
    
    func raceReleaseMerge(addr unsafe.Pointer) {
    	runtime.RaceReleaseMerge(addr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 591 bytes
    - Viewed (0)
  8. src/race.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # race.bash tests the standard library under the race detector.
    # https://golang.org/doc/articles/race_detector.html
    
    set -e
    
    function usage {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 04 14:17:20 UTC 2022
    - 919 bytes
    - Viewed (0)
  9. src/race.bat

    goto fail
    L23:call .\env.bat
    L24:del env.bat
    L25:
    L26:if %GOHOSTARCH% == amd64 goto continue
    L27:echo Race detector is only supported on windows/amd64.
    L28:goto fail
    L29:
    L30::continue
    L31:call .\make.bat --no-banner --no-local
    L32:if %GOBUILDFAIL%==1 goto end
    L33:echo # go install -race std
    L34:go install -race std
    L35:if errorlevel 1 goto fail
    L36:
    L37:go tool dist test -race
    L38:
    L39:if errorlevel 1 goto fail
    L40:goto succ
    L41:
    L42::fail
    L43:set GOBUILDFAIL=1
    L44:echo Fail.
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 16:59:17 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. src/runtime/race/race.go

    // license that can be found in the LICENSE file.
    
    //go:build race && ((linux && (amd64 || arm64 || ppc64le || s390x)) || ((freebsd || netbsd || openbsd || windows) && amd64))
    
    package race
    
    // This file merely ensures that we link in runtime/cgo in race build,
    // this in turn ensures that runtime uses pthread_create to create threads.
    // The prebuilt race runtime lives in race_GOOS_GOARCH.syso.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 868 bytes
    - Viewed (0)
Back to top