Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 923 for data0 (0.07 sec)

  1. src/debug/dwarf/line_test.go

    		0x20, 0x10, 0x10}
    	line := []byte{0x20}
    	Data0, err := New(abbrev, aranges, frame, info, line, pubnames, ranges, str)
    	if err != nil {
    		t.Fatalf("error unexpected: %v", err)
    	}
    	Reader0 := Data0.Reader()
    	Entry0, err := Reader0.Next()
    	if err != nil {
    		t.Fatalf("error unexpected: %v", err)
    	}
    	LineReader0, err := Data0.LineReader(Entry0)
    	if err == nil {
    		t.Fatalf("expected error")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. src/debug/dwarf/entry_test.go

    	// A hand-crafted input corresponding to a minimal-size
    	// .debug_info (header only, no DIEs) and an empty abbrev table.
    	data0, _ := New(abbrev, aranges, frame, info, line, pubnames, ranges, str)
    	reader0 := data0.Reader()
    	entry0, _ := reader0.SeekPC(0x0)
    	// main goal is to make sure we can get here without crashing
    	if entry0 != nil {
    		t.Errorf("got non-nil entry0, wanted nil")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    		{data1[:511], 0, io.ErrUnexpectedEOF},
    		{data1[:512], 1, io.ErrUnexpectedEOF},
    		{data1[:1024], 1, io.EOF},
    		{data1[:1536], 2, io.ErrUnexpectedEOF},
    		{data1[:2048], 2, io.EOF},
    		{data1, 2, io.EOF},
    		{data1[:2048] + data2[:1536], 3, io.EOF},
    		{data2[:511], 0, io.ErrUnexpectedEOF},
    		{data2[:512], 1, io.ErrUnexpectedEOF},
    		{data2[:1195], 1, io.ErrUnexpectedEOF},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  4. src/testing/fstest/testfs.go

    	if string(data1) != string(data2) {
    		t.errorf("%s: %s: different data returned\n\t%q\n\t%q", file, desc, data1, data2)
    		return
    	}
    }
    
    // checkBadPath checks that various invalid forms of file's name cannot be opened using t.fsys.Open.
    func (t *fsTester) checkOpen(file string) {
    	t.checkBadPath(file, "Open", func(file string) error {
    		f, err := t.fsys.Open(file)
    		if err == nil {
    			f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/syscall/types_windows.go

    	Addr      Pointer
    	Next      *AddrinfoW
    }
    
    const (
    	AI_PASSIVE     = 1
    	AI_CANONNAME   = 2
    	AI_NUMERICHOST = 4
    )
    
    type GUID struct {
    	Data1 uint32
    	Data2 uint16
    	Data3 uint16
    	Data4 [8]byte
    }
    
    var WSAID_CONNECTEX = GUID{
    	0x25a207b9,
    	0xddf3,
    	0x4660,
    	[8]byte{0x8e, 0xe9, 0x76, 0xe5, 0x8c, 0x74, 0x06, 0x3e},
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. src/sort/sort_test.go

    	data := make([]int, 30)
    	for i := range data {
    		data[i] = 10
    	}
    	data[(len(data)/4)*1] = 0
    	data[(len(data)/4)*2] = 1
    	data[(len(data)/4)*3] = 2
    	Sort(IntSlice(data))
    }
    
    func TestReverseRange(t *testing.T) {
    	data := []int{1, 2, 3, 4, 5, 6, 7}
    	ReverseRange(IntSlice(data), 0, len(data))
    	for i := len(data) - 1; i > 0; i-- {
    		if data[i] > data[i-1] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/complit.go

    		vstate := readonlystaticname(te)
    
    		datak := ir.NewCompLitExpr(base.Pos, ir.OARRAYLIT, nil, nil)
    		datae := ir.NewCompLitExpr(base.Pos, ir.OARRAYLIT, nil, nil)
    		for _, r := range entries {
    			r := r.(*ir.KeyExpr)
    			datak.List.Append(r.Key)
    			datae.List.Append(r.Value)
    		}
    		fixedlit(inInitFunction, initKindStatic, datak, vstatk, init)
    		fixedlit(inInitFunction, initKindStatic, datae, vstate, init)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  8. docs/logging/README.md

      },
      "tags": {
        "objectLocation": {
          "name": "hosts",
          "poolId": 1,
          "setId": 1,
          "drives": [
            "/mnt/data1",
            "/mnt/data2",
            "/mnt/data3",
            "/mnt/data4"
          ]
        }
      },
      "accessKey": "minioadmin"
    }
    ```
    
    ### Kafka Target
    
    Assuming that you already have Apache Kafka configured and running.
    
    ```
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/staticdata/data.go

    	}
    	size := info.Size()
    	if size <= 1*1024 {
    		data, err := io.ReadAll(f)
    		if err != nil {
    			return nil, 0, err
    		}
    		if int64(len(data)) != size {
    			return nil, 0, fmt.Errorf("file changed between reads")
    		}
    		var sym *obj.LSym
    		if readonly {
    			sym = StringSym(pos, string(data))
    		} else {
    			sym = slicedata(pos, string(data))
    		}
    		if len(hash) > 0 {
    			sum := notsha256.Sum256(data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    		hashPathCutSet = dataUsageRoot + string(filepath.Separator)
    	}
    }
    
    // hashPath calculates a hash of the provided string.
    func hashPath(data string) dataUsageHash {
    	if data != dataUsageRoot {
    		data = strings.Trim(data, hashPathCutSet)
    	}
    	return dataUsageHash(path.Clean(data))
    }
    
    //msgp:ignore dataUsageHashMap
    type dataUsageHashMap map[string]struct{}
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top