Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for LH (0.06 sec)

  1. internal/dsync/dsync-server_test.go

    		return
    	}
    	_, err = lh.lsrv.Unlock(&args)
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    }
    
    func (lh *lockServerHandler) RUnlockHandler(w http.ResponseWriter, r *http.Request) {
    	args, err := getLockArgs(r)
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    	_, err = lh.lsrv.RUnlock(&args)
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/fields/fields_test.go

    		Key string
    		Has bool
    	}{
    		{Set{"x": "y"}, "x", true},
    		{Set{"x": ""}, "x", true},
    		{Set{"x": "y"}, "foo", false},
    	}
    	for _, lh := range fieldHasTests {
    		if has := lh.Ls.Has(lh.Key); has != lh.Has {
    			t.Errorf("%#v.Has(%#v) => %v, expected %v", lh.Ls, lh.Key, has, lh.Has)
    		}
    	}
    }
    
    func TestFieldGet(t *testing.T) {
    	ls := Set{"x": "y"}
    	if ls.Get("x") != "y" {
    		t.Errorf("Set.Get is broken")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 19 14:50:16 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/labels/labels_test.go

    		Key string
    		Has bool
    	}{
    		{Set{"x": "y"}, "x", true},
    		{Set{"x": ""}, "x", true},
    		{Set{"x": "y"}, "foo", false},
    	}
    	for _, lh := range labelHasTests {
    		if has := lh.Ls.Has(lh.Key); has != lh.Has {
    			t.Errorf("%#v.Has(%#v) => %v, expected %v", lh.Ls, lh.Key, has, lh.Has)
    		}
    	}
    }
    
    func TestLabelGet(t *testing.T) {
    	ls := Set{"x": "y"}
    	if ls.Get("x") != "y" {
    		t.Errorf("Set.Get is broken")
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  4. src/log/slog/example_level_handler_test.go

    // All methods except Enabled delegate to h.
    func NewLevelHandler(level slog.Leveler, h slog.Handler) *LevelHandler {
    	// Optimization: avoid chains of LevelHandlers.
    	if lh, ok := h.(*LevelHandler); ok {
    		h = lh.Handler()
    	}
    	return &LevelHandler{level, h}
    }
    
    // Enabled implements Handler.Enabled by reporting whether
    // level is at least as large as h's level.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:32:54 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. cmd/metacache_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ended")
    				return
    			}
    		case "st":
    			z.started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "started")
    				return
    			}
    		case "lh":
    			z.lastHandout, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "lastHandout")
    				return
    			}
    		case "u":
    			z.lastUpdate, err = dc.ReadTime()
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	rem := func(level int) {
    		for len(res) > 0 {
    			last := res[len(res)-1]
    			if lh, ok := last.(*md.Heading); ok && lh.Level >= level {
    				res = res[:len(res)-1]
    				// Adjust subsequent block positions by the size of this block
    				// plus 1 for the blank line between headings.
    				delta += lh.EndLine - lh.StartLine + 2
    			} else {
    				break
    			}
    		}
    	}
    
    	for _, b := range bs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/anames.go

    	"ADD",
    	"SLT",
    	"SLTU",
    	"AND",
    	"OR",
    	"XOR",
    	"SLL",
    	"SRL",
    	"SUB",
    	"SRA",
    	"JAL",
    	"JALR",
    	"BEQ",
    	"BNE",
    	"BLT",
    	"BLTU",
    	"BGE",
    	"BGEU",
    	"LW",
    	"LWU",
    	"LH",
    	"LHU",
    	"LB",
    	"LBU",
    	"SW",
    	"SH",
    	"SB",
    	"FENCE",
    	"FENCETSO",
    	"PAUSE",
    	"ADDIW",
    	"SLLIW",
    	"SRLIW",
    	"SRAIW",
    	"ADDW",
    	"SLLW",
    	"SRLW",
    	"SUBW",
    	"SRAW",
    	"LD",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/abt/avlint32_test.go

    		s = " min >= t.key"
    		return
    	}
    
    	if keyMax <= t.key {
    		s = " max <= t.key"
    		return
    	}
    
    	l := t.left
    	r := t.right
    
    	lh := l.height()
    	rh := r.height()
    	mh := max(lh, rh)
    	th := t.height()
    	dh := lh - rh
    	if dh < 0 {
    		dh = -dh
    	}
    	if dh > 1 {
    		s = fmt.Sprintf(" dh > 1, t=%d", t.key)
    		return
    	}
    
    	if l == nil && r == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 16:34:41 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock.go

    	holdStatus, ok := h[AmzObjectLockLegalHold]
    	if ok {
    		lh := parseLegalHoldStatus(holdStatus[0])
    		if !lh.Valid() {
    			return lhold, ErrUnknownWORMModeDirective
    		}
    		lhold = ObjectLegalHold{XMLNS: "http://s3.amazonaws.com/doc/2006-03-01/", Status: lh}
    	}
    	return lhold, nil
    }
    
    // ObjectLegalHold specified in
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. src/math/cbrt_s390x.s

    	WORD	$0xED209040	//mdb	%f2,.L10-.L9(%r9)
    	BYTE	$0x00
    	BYTE	$0x1C
    	MOVH	$0x200, R4
    	LGDR	F2, R2
    	SRAD	$32, R2
    L4:
    	RISBGZ	$57, $62, $39, R2, R3
    	MOVD	$·cbrttab12067<>+0(SB), R1
    	WORD	$0x48131000	//lh	%r1,0(%r3,%r1)
    	RISBGZ	$57, $62, $45, R2, R3
    	MOVD	$·cbrttab22068<>+0(SB), R5
    	RISBGNZ	$60, $63, $48, R2, R2
    	WORD	$0x4A135000	//ah	%r1,0(%r3,%r5)
    	BYTE	$0x18	//lr	%r3,%r1
    	BYTE	$0x31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 15:34:41 UTC 2019
    - 4.9K bytes
    - Viewed (0)
Back to top