Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Bowers (0.19 sec)

  1. internal/s3select/sql/parser_test.go

    		`select * from s3object where Name like 'a\%' escape '?'`,
    		`select * from s3object where Name not like 'abc\' escape '?'`,
    		`select * from s3object where Name like 'a\%' escape LOWER('?')`,
    		`select * from s3object where Name not like LOWER('Bc\') escape '?'`,
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &s)
    		if err != nil {
    			t.Errorf("%d: %v", i, err)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    				c -= 'a' - 'A'
    			}
    			b[i] = c
    		}
    		return b
    	}
    	return Map(unicode.ToUpper, s)
    }
    
    // ToLower returns a copy of the byte slice s with all Unicode letters mapped to
    // their lower case.
    func ToLower(s []byte) []byte {
    	isASCII, hasUpper := true, false
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if c >= utf8.RuneSelf {
    			isASCII = false
    			break
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		nsUnlocker = func() { lock.RUnlock(lkctx) }
    		unlockOnDefer = true
    	}
    
    	checkPrecondFn := opts.CheckPrecondFn
    	opts.CheckPrecondFn = nil // do not need to apply pre-conditions at lower layer.
    	opts.NoLock = true        // no locks needed at lower levels for getObjectInfo()
    	objInfo, zIdx, err := z.getLatestObjectInfoWithIdx(ctx, bucket, object, opts)
    	if err != nil {
    		if objInfo.DeleteMarker {
    			if opts.VersionID == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    			rp = &r.buf[len(r.buf)-1]
    		} else {
    			rp.n++
    		}
    	}
    	return len(p), nil
    }
    
    func memset(a []byte, b byte) {
    	if len(a) == 0 {
    		return
    	}
    	// Double, until we reach power of 2 >= len(a), same as bytes.Repeat,
    	// but without allocation.
    	a[0] = b
    	for i, l := 1, len(a); i < l; i *= 2 {
    		copy(a[i:], a[:i])
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    			} else if nextReg != int(reg) {
    				p.errorf("incontiguous register in ARM64 register list: %s", name)
    			}
    			regCnt++
    			nextReg = (nextReg + 1) % 32
    		case sys.ARM:
    			// 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
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    			markDelete = false
    		}
    		if opts.VersionPurgeStatus() == Complete {
    			markDelete = false
    		}
    		// now, since VersionPurgeStatus() is already set, we can let the
    		// lower layers decide this. This fixes a regression that was introduced
    		// in PR #14555 where !VersionPurgeStatus.Empty() is automatically
    		// considered as Delete marker true to avoid listing such objects by
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/object-handlers.go

    		return
    	}
    
    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEmptyRequestBody), r.URL)
    		return
    	}
    
    	// Take read lock on object, here so subsequent lower-level
    	// calls do not need to.
    	lock := objectAPI.NewNSLock(bucket, object)
    	lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. internal/grid/msg.go

    	OpResponse
    
    	// OpDisconnect instructs that remote wants to disconnect
    	OpDisconnect
    
    	// OpMerged is several operations merged into one.
    	OpMerged
    )
    
    const (
    	// FlagCRCxxh3 indicates that, the lower 32 bits of xxhash3 of the serialized
    	// message will be sent after the serialized message as little endian.
    	FlagCRCxxh3 Flags = 1 << iota
    
    	// FlagEOF the stream (either direction) is at EOF.
    	FlagEOF
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/endtoend_test.go

    	testEndToEnd(t, "loong64", "loong64")
    }
    
    func TestPPC64EndToEnd(t *testing.T) {
    	defer func(old int) { buildcfg.GOPPC64 = old }(buildcfg.GOPPC64)
    	for _, goppc64 := range []int{8, 9, 10} {
    		t.Logf("GOPPC64=power%d", goppc64)
    		buildcfg.GOPPC64 = goppc64
    		// Some pseudo-ops may assemble differently depending on GOPPC64
    		testEndToEnd(t, "ppc64", "ppc64")
    		testEndToEnd(t, "ppc64", "ppc64_p10")
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	for member, groups := range c.iamUserGroupMemberships {
    		if !groups.Contains(group) {
    			continue
    		}
    		groups.Remove(group)
    		c.iamUserGroupMemberships[member] = groups
    	}
    }
    
    // policyDBGet - lower-level helper; does not take locks.
    //
    // If a group is passed, it returns policies associated with the group.
    //
    // If a user is passed, it returns policies of the user along with any groups
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top