Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for hi (0.19 sec)

  1. cmd/callhome.go

    	for {
    		select {
    		case hi, hasMore := <-healthInfoCh:
    			if !hasMore {
    				// Received all data. Send to SUBNET and return
    				err := sendHealthInfo(ctx, healthInfo)
    				if err != nil {
    					internalLogIf(ctx, fmt.Errorf("Unable to perform callhome: %w", err))
    				}
    				return
    			}
    			healthInfo = hi
    		case <-healthCtx.Done():
    			return
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  2. cmd/erasure.go

    			di.Scanning = info.Scanning
    			di.State = diskErrToDriveState(err)
    			di.FreeInodes = info.FreeInodes
    			di.UsedInodes = info.UsedInodes
    			if info.Healing {
    				if hi := disks[index].Healing(); hi != nil {
    					hd := hi.toHealingDisk()
    					di.HealInfo = &hd
    				}
    			}
    			di.Metrics = &madmin.DiskMetrics{
    				LastMinute:              make(map[string]madmin.TimedAction, len(info.Metrics.LastMinute)),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 10:02:39 GMT 2024
    - 16K bytes
    - Viewed (1)
  3. src/cmd/asm/internal/asm/parse.go

    			// Parse the upper and lower bounds.
    			lo := p.registerNumber(tok.String())
    			hi := lo
    			if p.peek() == '-' {
    				p.next()
    				hi = p.registerNumber(p.next().String())
    			}
    			if hi < lo {
    				lo, hi = hi, lo
    			}
    			// Check there are no duplicates in the register list.
    			for i := 0; lo <= hi && i < maxReg; i++ {
    				if bits&(1<<lo) != 0 {
    					p.errorf("register R%d already in list", lo)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    		t.Fatalf("got %v, expected nil", err)
    	}
    	zh := zf.File[0].FileHeader
    	if zh.Name != h.Name || zh.Method != h.Method || zh.UncompressedSize64 != uint64(len("hi")) {
    		t.Fatalf("got %q/%d/%d expected %q/%d/%d", zh.Name, zh.Method, zh.UncompressedSize64, h.Name, h.Method, len("hi"))
    	}
    }
    
    // Issue 4302.
    func TestHeaderInvalidTagAndSize(t *testing.T) {
    	const timeFormat = "20060102T150405.000.txt"
    
    	ts := time.Now()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    				Format:  FormatGNU,
    			}, nil},
    			testClose{nil},
    		},
    	}, {
    		file: "testdata/gnu-not-utf8.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "hi\x80\x81\x82\x83bye",
    				Mode:     0644,
    				Uid:      1000,
    				Gid:      1000,
    				Uname:    "rawr",
    				Gname:    "dsnet",
    				ModTime:  time.Unix(0, 0),
    				Format:   FormatGNU,
    			}, nil},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  6. src/bytes/example_test.go

    	}
    	fmt.Printf("%s\n", bytes.Map(rot13, []byte("'Twas brillig and the slithy gopher...")))
    	// Output:
    	// 'Gjnf oevyyvt naq gur fyvgul tbcure...
    }
    
    func ExampleReader_Len() {
    	fmt.Println(bytes.NewReader([]byte("Hi!")).Len())
    	fmt.Println(bytes.NewReader([]byte("こんにちは!")).Len())
    	// Output:
    	// 3
    	// 16
    }
    
    func ExampleRepeat() {
    	fmt.Printf("ba%s", bytes.Repeat([]byte("na"), 2))
    	// Output: banana
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top