Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for hi (0.14 sec)

  1. internal/config/config_test.go

    		// No keys requested for tokenizing
    		{
    			input:          `comment="Hi this is my comment ="`,
    			keys:           []string{},
    			expectedFields: map[string]struct{}{},
    		},
    		// Single key requested and present
    		{
    			input:          `comment="Hi this is my comment ="`,
    			keys:           []string{"comment"},
    			expectedFields: map[string]struct{}{`comment="Hi this is my comment ="`: {}},
    		},
    		// Keys and input order of k=v is same.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/asm/internal/arch/arch.go

    	}
    	for i := mips.REG_M0; i <= mips.REG_M31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := mips.REG_FCR0; i <= mips.REG_FCR31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	register["HI"] = mips.REG_HI
    	register["LO"] = mips.REG_LO
    	// Pseudo-registers.
    	register["SB"] = RSB
    	register["FP"] = RFP
    	register["PC"] = RPC
    	// Avoid unintentionally clobbering g using R30.
    	delete(register, "R30")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  5. src/archive/zip/writer_test.go

    		nonUTF8 bool
    		flags   uint16
    	}{
    		{
    			name:    "hi, hello",
    			comment: "in the world",
    			flags:   0x8,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			flags:   0x808,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the world",
    			nonUTF8: true,
    			flags:   0x8,
    		},
    		{
    			name:    "hi, hello",
    			comment: "in the 世界",
    			flags:   0x808,
    		},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/asm/internal/arch/arm.go

    	"CS":  arm.C_SCOND_HS,
    	"HS":  arm.C_SCOND_HS,
    	"CC":  arm.C_SCOND_LO,
    	"LO":  arm.C_SCOND_LO,
    	"MI":  arm.C_SCOND_MI,
    	"PL":  arm.C_SCOND_PL,
    	"VS":  arm.C_SCOND_VS,
    	"VC":  arm.C_SCOND_VC,
    	"HI":  arm.C_SCOND_HI,
    	"LS":  arm.C_SCOND_LS,
    	"GE":  arm.C_SCOND_GE,
    	"LT":  arm.C_SCOND_LT,
    	"GT":  arm.C_SCOND_GT,
    	"LE":  arm.C_SCOND_LE,
    	"AL":  arm.C_SCOND_NONE,
    	"U":   arm.C_UBIT,
    	"S":   arm.C_SBIT,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top