Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 108 for goTo (0.2 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    		i := 0
    		for i = 0; i < len(f.Syntax.Stmt); i++ {
    			if line, ok := f.Syntax.Stmt[i].(*Line); ok && len(line.Token) > 0 && line.Token[0] == "go" {
    				i++
    				goto Found
    			}
    		}
    		for i = 0; i < len(f.Syntax.Stmt); i++ {
    			if _, ok := f.Syntax.Stmt[i].(*CommentBlock); !ok {
    				break
    			}
    		}
    	Found:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/nodes_test.go

    	{"AssignStmt", `a[i]@--`},
    
    	{"BranchStmt", `@break`},
    	{"BranchStmt", `@break L`},
    	{"BranchStmt", `@continue`},
    	{"BranchStmt", `@continue L`},
    	{"BranchStmt", `@fallthrough`},
    	{"BranchStmt", `@goto L`},
    
    	{"CallStmt", `@defer f()`},
    	{"CallStmt", `@go f()`},
    
    	{"ReturnStmt", `@return`},
    	{"ReturnStmt", `@return x`},
    	{"ReturnStmt", `@return a, b, a + b*f(1, 2, 3)`},
    
    	{"IfStmt", `@if cond {}`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. pkg/config/schema/resource/schema_test.go

    			b: Builder{
    				Kind:         "Empty",
    				Plural:       "Empties",
    				ProtoPackage: "github.com/gogo/protobuf/types",
    				Proto:        "google.protobuf.Empty",
    			},
    			expectError: false,
    		},
    		{
    			name: "invalid kind",
    			b: Builder{
    				Kind:         "",
    				Plural:       "Empties",
    				ProtoPackage: "github.com/gogo/protobuf/types",
    				Proto:        "google.protobuf.Empty",
    			},
    			expectError: true,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. hack/_update-generated-protobuf-dockerized.sh

    GOPROXY=off go install k8s.io/code-generator/cmd/go-to-protobuf
    GOPROXY=off go install k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo
    
    # requires the 'proto' tag to build (will remove when ready)
    # searches for the protoc-gen-gogo extension in the output directory
    # satisfies import of github.com/gogo/protobuf/gogoproto/gogo.proto and the
    # core Google protobuf types
    PATH="${KUBE_ROOT}/_output/bin:${PATH}" \
      go-to-protobuf \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1/api.proto

    limitations under the License.
    */
    
    syntax = "proto3";
    
    package v1beta1;
    option go_package = "k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta1";
    
    import "github.com/gogo/protobuf/gogoproto/gogo.proto";
    
    option (gogoproto.goproto_stringer_all) = false;
    option (gogoproto.stringer_all) =  true;
    option (gogoproto.goproto_getters_all) = true;
    option (gogoproto.marshaler_all) = true;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2/api.proto

    limitations under the License.
    */
    
    syntax = "proto3";
    
    package v1beta2;
    option go_package = "k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2";
    
    import "github.com/gogo/protobuf/gogoproto/gogo.proto";
    
    option (gogoproto.goproto_stringer_all) = false;
    option (gogoproto.stringer_all) =  true;
    option (gogoproto.goproto_getters_all) = true;
    option (gogoproto.marshaler_all) = true;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 17:31:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. pkg/util/gogoprotomarshal/protomarshal.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package gogoprotomarshal
    
    import (
    	"strings"
    
    	"github.com/gogo/protobuf/jsonpb" // nolint: depguard
    	"github.com/gogo/protobuf/proto"  // nolint: depguard
    
    	"istio.io/istio/pkg/log"
    )
    
    // ApplyJSON unmarshals a JSON string into a proto message. Unknown fields are allowed
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. common/config/license-lint.yml

      - OSL-2.1
      - OSL-3.0
      - QPL-1.0
      - Sleepycat
    
    allowlisted_modules:
    # MIT: https://github.com/ghodss/yaml/blob/master/LICENSE
    - github.com/ghodss/yaml
    
    # BSD: https://github.com/gogo/protobuf/blob/master/LICENSE
    - github.com/gogo/protobuf
    
    # BSD: https://github.com/magiconair/properties/blob/master/LICENSE.md
    - github.com/magiconair/properties
    
    # Apache 2.0
    - github.com/spf13/cobra
    - github.com/spf13/afero
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 25 19:26:20 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. hack/lib/protoc.sh

    function kube::protoc::protoc() {
      local package=${1}
      gogopath=$(dirname "$(kube::util::find-binary "protoc-gen-gogo")")
    
      (
        cd "${package}"
    
        # This invocation of --gogo_out produces its output in the current
        # directory (despite gogo docs saying it would be source-relative, it
        # isn't).  The inputs to this function do not all have a common root, so
        # this works best for all inputs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 20:53:13 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. operator/pkg/util/yaml_test.go

    		expect string
    	}{
    		{
    			desc: "1-line-diff",
    			diff1: `hola: yo
    foo: bar
    goo: tar
    ---
    hola: yo1
    foo: bar1
    goo: tar1
    `,
    			diff2: `hola: yo
    foo: bar
    notgoo: nottar
    `,
    			expect: ` foo: bar
    -goo: tar
     hola: yo
    +notgoo: nottar
     
    -foo: bar1
    -goo: tar1
    -hola: yo1
    +{}
     `,
    		},
    		{
    			desc: "no-diff",
    			diff1: `foo: bar
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:00:14 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top