- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,064 for pool (0.01 seconds)
-
internal/s3select/sql/stringfuncs_test.go
t.Errorf("DropRune Case %d failed", i) } } matcherCases := []struct { iText, iPat string iHasLeadingPercent bool resultExpected string matchExpected bool }{ {"abcd", "bcd", false, "", false}, {"abcd", "bcd", true, "", true}, {"abcd", "abcd", false, "", true}, {"abcd", "abcd", true, "", true}, {"abcd", "ab", false, "cd", true}, {"abcd", "ab", true, "cd", true},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testFind_withDefault_first() { Iterable<String> list = Lists.newArrayList("cool", "pants"); Iterator<String> iterator = list.iterator(); assertEquals("cool", find(iterator, equalTo("cool"), "woot")); assertEquals("pants", iterator.next()); } public void testFind_withDefault_last() { Iterable<String> list = Lists.newArrayList("cool", "pants");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 56.7K bytes - Click Count (0) -
cmd/object-api-utils.go
func IsValidObjectName(object string) bool { if len(object) == 0 { return false } if HasSuffix(object, SlashSeparator) { return false } return IsValidObjectPrefix(object) } // IsValidObjectPrefix verifies whether the prefix is a valid object name. // Its valid to have a empty prefix. func IsValidObjectPrefix(object string) bool { if hasBadPathComponent(object) { return false }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
src/cmd/asm/internal/arch/riscv64.go
// requires special handling. func IsRISCV64VTypeI(op obj.As) bool { return op == riscv.AVSETVLI || op == riscv.AVSETIVLI } // IsRISCV64CSRO reports whether the op is an instruction that uses // CSR symbolic names and whether that instruction expects a register // or an immediate source operand. func IsRISCV64CSRO(op obj.As) (imm bool, ok bool) { switch op { case riscv.ACSRRCI, riscv.ACSRRSI, riscv.ACSRRWI: imm = true
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 12 08:12:45 GMT 2025 - 2.8K bytes - Click Count (0) -
internal/crypto/key_test.go
func recoverTest(i int, shouldPass bool, t *testing.T) { if err := recover(); err == nil && !shouldPass { t.Errorf("Test %d should fail but passed successfully", i) } else if err != nil && shouldPass { t.Errorf("Test %d should pass but failed: %v", i, err) } } var generateKeyTests = []struct { ExtKey [32]byte Random io.Reader ShouldPass bool }{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 6.7K bytes - Click Count (0) -
cmd/erasure-decode.go
} readTriggerCh := make(chan bool, len(p.readers)) defer xioutil.SafeClose(readTriggerCh) // close the channel upon return for i := 0; i < p.dataBlocks; i++ { // Setup read triggers for p.dataBlocks number of reads so that it reads in parallel. readTriggerCh <- true } disksNotFound := int32(0) bitrotHeal := int32(0) // Atomic bool flag. missingPartsHeal := int32(0) // Atomic bool flag.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 29 01:40:52 GMT 2024 - 9.5K bytes - Click Count (0) -
cmd/generic-handlers_test.go
URL: &url.URL{Path: grid.RouteLockPath}, } if !guessIsRPCReq(r) { t.Fatal("Grid RPC path not detected") } } var isHTTPHeaderSizeTooLargeTests = []struct { header http.Header shouldFail bool }{ {header: generateHeader(0, 0), shouldFail: false}, {header: generateHeader(1024, 0), shouldFail: false}, {header: generateHeader(2048, 0), shouldFail: false}, {header: generateHeader(8*1024+1, 0), shouldFail: true},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.2K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arch.go
RegisterPrefix map[string]bool // RegisterNumber converts R(10) into arm.REG_R10. RegisterNumber func(string, int16) (int16, bool) // Instruction is a jump. IsJump func(word string) bool } // nilRegisterNumber is the register number function for architectures // that do not accept the R(N) notation. It always returns failure. func nilRegisterNumber(name string, n int16) (int16, bool) { return 0, false }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 13 12:17:37 GMT 2025 - 21.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingQueue.java
@Override public boolean offer(@ParametricNullness E o) { return delegate().offer(o); } @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this? @Override public @Nullable E poll() { return delegate().poll(); } @CanIgnoreReturnValue @Override @ParametricNullness public E remove() { return delegate().remove(); } @Override public @Nullable E peek() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.9K bytes - Click Count (0) -
internal/bucket/replication/destination.go
// EncryptionConfiguration TODO: not needed for MinIO } func (d Destination) isValidStorageClass() bool { if d.StorageClass == "" { return true } return d.StorageClass == "STANDARD" || d.StorageClass == "REDUCED_REDUNDANCY" } // IsValid - checks whether Destination is valid or not. func (d Destination) IsValid() bool { return d.Bucket != "" || !d.isValidStorageClass() } func (d Destination) String() string {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4K bytes - Click Count (0)