Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for typeOff (0.2 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    		return nil
    	}
    
    	return r
    }
    
    func getSchemaType(schema LookupPatchMeta) string {
    	return reflect.TypeOf(schema).String()
    }
    
    func jsonToYAMLOrError(j []byte) string {
    	y, err := jsonToYAML(j)
    	if err != nil {
    		return err.Error()
    	}
    
    	return string(y)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    Type declarations come in two forms: alias declarations and type definitions.
    </p>
    
    <pre class="ebnf">
    TypeDecl = "type" ( TypeSpec | "(" { TypeSpec ";" } ")" ) .
    TypeSpec = AliasDecl | TypeDef .
    </pre>
    
    <h4 id="Alias_declarations">Alias declarations</h4>
    
    <p>
    An alias declaration binds an identifier to the given type.
    </p>
    
    <pre class="ebnf">
    AliasDecl = identifier "=" Type .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    		// maybe I should flesh out the fakeConn.Exec
    		// implementation so this properly fails.
    		// t.Errorf("expected error inserting nil name with Exec")
    	}
    
    	paramtype := reflect.TypeOf(spec.rows[0].nullParam)
    	bindVal := reflect.New(paramtype).Interface()
    
    	for i := 0; i < 5; i++ {
    		id := i + 1
    		if err := db.QueryRow("SELECT|t|nullf|id=?", id).Scan(bindVal); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    		ch <- r.Context()
    	}), func(ts *httptest.Server) {
    		ts.Config.BaseContext = func(ln net.Listener) context.Context {
    			if strings.Contains(reflect.TypeOf(ln).String(), "onceClose") {
    				t.Errorf("unexpected onceClose listener type %T", ln)
    			}
    			return context.WithValue(context.Background(), baseKey{}, "base")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top