Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 304 for Tstruct (0.14 sec)

  1. src/html/template/exec_test.go

    // T has lots of interesting pieces to use to test execution.
    type T struct {
    	// Basics
    	True        bool
    	I           int
    	U16         uint16
    	X, S        string
    	FloatZero   float64
    	ComplexZero complex128
    	// Nested structs.
    	U *U
    	// Struct with String method.
    	V0     V
    	V1, V2 *V
    	// Struct with Error method.
    	W0     W
    	W1, W2 *W
    	// Slices
    	SI      []int
    	SICap   []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy_test.go

    			}
    		})
    	}
    }
    
    type mockPodGetter struct {
    	pod *api.Pod
    }
    
    func (g mockPodGetter) Get(context.Context, string, *metav1.GetOptions) (runtime.Object, error) {
    	return g.pod, nil
    }
    
    func TestCheckLogLocation(t *testing.T) {
    	ctx := genericapirequest.NewDefaultContext()
    	fakePodName := "test"
    	tcs := []struct {
    		name              string
    		in                *api.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// to initialize it as `nullptr`.
    
    typedef struct TF_RandomAccessFile {
      void* plugin_file;
    } TF_RandomAccessFile;
    
    typedef struct TF_WritableFile {
      void* plugin_file;
    } TF_WritableFile;
    
    typedef struct TF_ReadOnlyMemoryRegion {
      void* plugin_memory_region;
    } TF_ReadOnlyMemoryRegion;
    
    typedef struct TF_Filesystem {
      void* plugin_filesystem;
    } TF_Filesystem;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
  4. src/syscall/syscall_windows.go

    var SocketDisableIPv6 bool
    
    type RawSockaddrInet4 struct {
    	Family uint16
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]uint8
    }
    
    type RawSockaddrInet6 struct {
    	Family   uint16
    	Port     uint16
    	Flowinfo uint32
    	Addr     [16]byte /* in6_addr */
    	Scope_id uint32
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    				oldType.Go = sub.Go
    			}
    		}
    		// Check for non-pointer "struct <tag>{...}; typedef struct <tag> *<name>"
    		// typedefs that should be marked Incomplete.
    		if ptr, ok := dt.Type.(*dwarf.PtrType); ok {
    			if strct, ok := ptr.Type.(*dwarf.StructType); ok {
    				if c.badStructPointerTypedef(dt.Name, strct) {
    					c.incompleteStructs[strct.StructName] = true
    					// Make sure we update any previously computed type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    			t.Fatalf("on line %d/2; ReadLine=%#v, %v; want non-nil line or Error, but not both",
    				i+1, l, err)
    		}
    	}
    }
    
    type readLineResult struct {
    	line     []byte
    	isPrefix bool
    	err      error
    }
    
    var readLineNewlinesTests = []struct {
    	input  string
    	expect []readLineResult
    }{
    	{"012345678901234\r\n012345678901234\r\n", []readLineResult{
    		{[]byte("012345678901234"), true, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/xcoff.go

    	Lparm   uint32 // Parameter type-check field
    }
    
    type xcoffLoaderSymbol struct {
    	sym    loader.Sym
    	smtype int8
    	smclas int8
    }
    
    type XcoffLdImportFile64 struct {
    	Limpidpath string
    	Limpidbase string
    	Limpidmem  string
    }
    
    type XcoffLdRel64 struct {
    	Lvaddr  uint64 // Address Field
    	Lrtype  uint16 // Relocation Size and Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_attacher_test.go

    			}
    			wg.Wait()
    		})
    	}
    }
    
    func TestAttacherVolumesAreAttached(t *testing.T) {
    	type attachedSpec struct {
    		volName  string
    		spec     *volume.Spec
    		attached bool
    	}
    	testCases := []struct {
    		name          string
    		attachedSpecs []attachedSpec
    		watchTimeout  time.Duration
    	}{
    		{
    			name: "attach and detach",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  9. pkg/kubelet/server/server_test.go

    			expectedCommand := "ls -a"
    			expectedStdin := "stdin"
    			expectedStdout := "stdout"
    			expectedStderr := "stderr"
    			done := make(chan struct{})
    			clientStdoutReadDone := make(chan struct{})
    			clientStderrReadDone := make(chan struct{})
    			execInvoked := false
    			attachInvoked := false
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  10. src/math/big/int_test.go

    	"testing/quick"
    )
    
    func isNormalized(x *Int) bool {
    	if len(x.abs) == 0 {
    		return !x.neg
    	}
    	// len(x.abs) > 0
    	return x.abs[len(x.abs)-1] != 0
    }
    
    type funZZ func(z, x, y *Int) *Int
    type argZZ struct {
    	z, x, y *Int
    }
    
    var sumZZ = []argZZ{
    	{NewInt(0), NewInt(0), NewInt(0)},
    	{NewInt(1), NewInt(1), NewInt(0)},
    	{NewInt(1111111110), NewInt(123456789), NewInt(987654321)},
    	{NewInt(-1), NewInt(-1), NewInt(0)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top