Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,374 for emptypb (0.14 sec)

  1. test/nilcheck.go

    type BigStruct struct {
    	X int
    	Y float64
    	A [1 << 20]int
    	Z string
    }
    
    type Empty struct {
    }
    
    type Empty1 struct {
    	Empty
    }
    
    var (
    	intp       *int
    	arrayp     *[10]int
    	array0p    *[0]int
    	bigarrayp  *[1 << 26]int
    	structp    *Struct
    	bigstructp *BigStruct
    	emptyp     *Empty
    	empty1p    *Empty1
    )
    
    func f1() {
    	_ = *intp    // ERROR "nil check"
    	_ = *arrayp  // ERROR "nil check"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. test/nilptr3.go

    type BigStruct struct {
    	X int
    	Y float64
    	A [1 << 20]int
    	Z string
    }
    
    type Empty struct {
    }
    
    type Empty1 struct {
    	Empty
    }
    
    var (
    	intp       *int
    	arrayp     *[10]int
    	array0p    *[0]int
    	bigarrayp  *[1 << 26]int
    	structp    *Struct
    	bigstructp *BigStruct
    	emptyp     *Empty
    	empty1p    *Empty1
    )
    
    func f1() {
    	_ = *intp // ERROR "generated nil check"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_query_empty.txt

    This file is not valid JSON.
    -- $WORK/badproxy/example.com/join/@v/list --
    v1.1.0
    -- $WORK/badproxy/example.com/join/@v/v1.1.0.info --
    {"Version": "v1.1.0"}
    -- $WORK/emptysub/example.com/join/subpkg/@v/list --
    -- $WORK/emptysub/example.com/join/@v/list --
    v1.1.0
    -- $WORK/emptysub/example.com/join/@v/v1.1.0.info --
    {"Version": "v1.1.0"}
    -- $WORK/notfound/example.com/join/subpkg/@v/list --
    v1.0.0-does-not-exist
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  4. src/regexp/syntax/prog.go

    }
    
    // StartCond returns the leading empty-width conditions that must
    // be true in any match. It returns ^EmptyOp(0) if no matches are possible.
    func (p *Prog) StartCond() EmptyOp {
    	var flag EmptyOp
    	pc := uint32(p.Start)
    	i := &p.Inst[pc]
    Loop:
    	for {
    		switch i.Op {
    		case InstEmptyWidth:
    			flag |= EmptyOp(i.Arg)
    		case InstFail:
    			return ^EmptyOp(0)
    		case InstCapture, InstNop:
    			// skip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testing/testfieldmanager.go

    	apiVersion   string
    	emptyObj     runtime.Object
    	liveObj      runtime.Object
    }
    
    // APIVersion of the object that we're tracking.
    func (f *TestFieldManagerImpl) APIVersion() string {
    	return f.apiVersion
    }
    
    // Reset resets the state of the liveObject by resetting it to an empty object.
    func (f *TestFieldManagerImpl) Reset() {
    	f.liveObj = f.emptyObj.DeepCopyObject()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/compatibility.go

    		}
    		return
    	}
    
    	emptyObj, err := c.Scheme.New(gvk)
    	if err != nil {
    		t.Fatal(err)
    	}
    	{
    		// compact before decoding since embedded RawExtension fields retain indenting
    		compacted := &bytes.Buffer{}
    		if err := gojson.Compact(compacted, actualJSON); err != nil {
    			t.Error(err)
    		}
    
    		jsonDecoded := emptyObj.DeepCopyObject()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 16:38:32 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  7. src/cmd/internal/test2json/testdata/empty.json

    Russ Cox <******@****.***> 1667840325 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 19 bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/capture/testdata/empty.golden

    Ben Leggett <******@****.***> 1710179183 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/sets/empty.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package sets
    
    // Empty is public since it is used by some internal API objects for conversions between external
    // string arrays and internal sets, and conversion logic requires public types today.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 789 bytes
    - Viewed (0)
  10. src/go/doc/testdata/examples/empty.golden

    Jonathan Amsterdam <******@****.***> 1650633228 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 54 bytes
    - Viewed (0)
Back to top