Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,436 for Struct (0.21 sec)

  1. internal/config/config_test.go

    package config
    
    import (
    	"testing"
    )
    
    func TestKVFields(t *testing.T) {
    	tests := []struct {
    		input          string
    		keys           []string
    		expectedFields map[string]struct{}
    	}{
    		// No keys present
    		{
    			input:          "",
    			keys:           []string{"comment"},
    			expectedFields: map[string]struct{}{},
    		},
    		// No keys requested for tokenizing
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  2. api/go1.3.txt

    pkg debug/macho, type FatArchHeader struct, SubCpu uint32
    pkg debug/macho, type FatFile struct
    pkg debug/macho, type FatFile struct, Arches []FatArch
    pkg debug/macho, type FatFile struct, Magic uint32
    pkg debug/macho, var ErrNotFat *FormatError
    pkg debug/pe, type DataDirectory struct
    pkg debug/pe, type DataDirectory struct, Size uint32
    pkg debug/pe, type DataDirectory struct, VirtualAddress uint32
    pkg debug/pe, type File struct, OptionalHeader interface{}
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  3. api/go1.22.txt

    pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-386-cgo), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-amd64), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-amd64-cgo), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-arm), type SysProcAttr struct, PidFD *int #51246
    pkg syscall (linux-arm-cgo), type SysProcAttr struct, PidFD *int #51246
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    		uuid_t uuid;
    	} policy_handle;
    
    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/api/testdata/src/pkg/p1/p1.go

    func TakesFunc(f func(dontWantName int) int)
    
    type Codec struct {
    	Func func(x int, y int) (z int)
    }
    
    type SI struct {
    	I int
    }
    
    var SIVal = SI{}
    var SIPtr = &SI{}
    var SIPtr2 *SI
    
    type T struct {
    	common
    }
    
    type B struct {
    	common
    }
    
    type common struct {
    	i int
    }
    
    type TPtrUnexported struct {
    	*common
    }
    
    type TPtrExported struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  6. tests/postgres_test.go

    			}
    		}
    	}
    
    	if !hasLogID {
    		t.Fatalf("failed to found column log_id")
    	}
    }
    
    type Post struct {
    	ID         uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"`
    	Title      string
    	Categories []*Category `gorm:"Many2Many:post_categories"`
    }
    
    type Category struct {
    	ID    uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"`
    	Title string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  7. internal/event/rulesmap_test.go

    	rulesMapCase3 := NewRulesMap([]Name{ObjectCreatedAll}, "2010*.jpg", TargetID{"1", "webhook"})
    	rulesMapToAddCase3 := NewRulesMap([]Name{ObjectCreatedAll}, "*", TargetID{"1", "webhook"})
    
    	testCases := []struct {
    		rulesMap      RulesMap
    		rulesMapToAdd RulesMap
    	}{
    		{rulesMapCase1, rulesMapToAddCase1},
    		{rulesMapCase2, rulesMapToAddCase2},
    		{rulesMapCase3, rulesMapToAddCase3},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jan 05 18:43:06 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. istioctl/pkg/util/configdump/wrapper.go

    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.ConfigDump
    }
    
    // UnmarshalJSON is a custom unmarshaller to handle protobuf pain
    func (w *Wrapper) UnmarshalJSON(b []byte) error {
    	cd := &admin.ConfigDump{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. clause/clause.go

    var (
    	currentTable  = Table{Name: CurrentTable}
    	PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey}
    )
    
    // Column quote with name
    type Column struct {
    	Table string
    	Name  string
    	Alias string
    	Raw   bool
    }
    
    // Table quote with name
    type Table struct {
    	Name  string
    	Alias string
    	Raw   bool
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Feb 02 09:15:08 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. internal/s3select/sql/value_test.go

    	},
    	func() *Value {
    		return FromTimestamp(time.Time{})
    	},
    	func() *Value {
    		return FromString("")
    	},
    }
    
    func TestValue_SameTypeAs(t *testing.T) {
    	type fields struct {
    		a, b Value
    	}
    	type test struct {
    		name   string
    		fields fields
    		wantOk bool
    	}
    	var tests []test
    	for i := range valueBuilders {
    		a := valueBuilders[i]()
    		for j := range valueBuilders {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
Back to top