Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 347 for Got (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/endpoint-ellipses_test.go

    		{[]uint64{24}, 24},
    	}
    
    	for _, testCase := range testCases {
    		t.Run("", func(t *testing.T) {
    			gotGCD := getDivisibleSize(testCase.totalSizes)
    			if testCase.result != gotGCD {
    				t.Errorf("Expected %v, got %v", testCase.result, gotGCD)
    			}
    		})
    	}
    }
    
    // Test tests calculating set indexes with ENV override for drive count.
    func TestGetSetIndexesEnvOverride(t *testing.T) {
    	testCases := []struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

                additionalJapicmpClasspath.from(resolveKotlinCompilerEmbeddable());
            } catch (Exception e) {
                throw new RuntimeException("Got an error while patching JapicmpTask task", e);
            }
        }
    
        private Configuration resolveKotlinCompilerEmbeddable() {
            Project project = getProject();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  3. internal/hash/checksum.go

    				return ChecksumNone, ""
    			}
    		}
    		return t, s
    	}
    	checkType := func(c ChecksumType) {
    		if got := h.Get(c.Key()); got != "" {
    			// If already set, invalid
    			if t != ChecksumNone {
    				t = ChecksumInvalid
    				s = ""
    			} else {
    				t = c
    				s = got
    			}
    			if h.Get(xhttp.AmzChecksumType) == xhttp.AmzChecksumTypeFullObject {
    				if !t.CanMerge() {
    					t = ChecksumInvalid
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  4. cmd/xl-storage_unix_test.go

    	}
    
    	// Get umask of the bits stored.
    	currentUmask := 0o777 - uint32(st.Mode().Perm())
    
    	// Verify if umask is correct.
    	if int(currentUmask) != testCase.expectedUmask {
    		t.Fatalf("Umask check failed expected %d, got %d", testCase.expectedUmask, currentUmask)
    	}
    }
    
    // Tests if the file creations happen with proper umask.
    func TestIsValidUmaskFile(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. cmd/bucket-replication_test.go

    	ctx := t.Context()
    	for i, test := range replicationConfigTests {
    		if sync := test.rcfg.Resync(ctx, test.info, test.dsc, test.tgtStatuses); sync.mustResync() != test.expectedSync {
    			t.Errorf("Test%d (%s): Resync  got %t , want %t", i+1, test.name, sync.mustResync(), test.expectedSync)
    		}
    	}
    }
    
    var (
    	start                   = UTCNow().AddDate(0, 0, -1)
    	replicationConfigTests2 = []struct {
    		info         ObjectInfo
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. cmd/format-erasure.go

    		return fmt.Errorf("Expected number of sets %d, got %d", len(reference.Erasure.Sets), len(format.Erasure.Sets))
    	}
    
    	// Make sure that the sets match.
    	for i := range reference.Erasure.Sets {
    		if len(reference.Erasure.Sets[i]) != len(format.Erasure.Sets[i]) {
    			return fmt.Errorf("Each set should be of same size, expected %d got %d",
    				len(reference.Erasure.Sets[i]), len(format.Erasure.Sets[i]))
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    in her pocket, and pulled out a box of comfits, (luckily the salt
    water had not got into it), and handed them round as prizes.
    There was exactly one a-piece all round.
    
      `But she must have a prize herself, you know,' said the Mouse.
    
      `Of course,' the Dodo replied very gravely.  `What else have
    you got in your pocket?' he went on, turning to Alice.
    
      `Only a thimble,' said Alice sadly.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
  8. cmd/os_unix.go

    		// support Dirent.Type and have DT_UNKNOWN (0) there
    		// instead.
    		if typ == unexpectedFileMode || typ&os.ModeSymlink == os.ModeSymlink {
    			fi, err := Stat(pathJoin(dirPath, string(name)))
    			if err != nil {
    				// It got deleted in the meantime, not found
    				// or returns too many symlinks ignore this
    				// file/directory.
    				if osIsNotExist(err) || isSysErrPathNotFound(err) ||
    					isSysErrTooManySymlinks(err) {
    					continue
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. internal/s3select/sql/parser_test.go

    	}
    	tokens, err := lexer.ConsumeAll(lex)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// for i, t := range tokens {
    	// 	fmt.Printf("%d: %#v\n", i, t)
    	// }
    	if len(tokens) != 7 {
    		t.Fatalf("Expected 7 got %d", len(tokens))
    	}
    }
    
    func TestSelectWhere(t *testing.T) {
    	p := participle.MustBuild(
    		&Select{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    	)
    
    	s := Select{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/InputValidator.java

            }
            if (array.length != expectedLength) {
                throw new IllegalArgumentException(fieldName + " must be " + expectedLength + " bytes, got " + array.length);
            }
        }
    
        /**
         * Validates a port number
         *
         * @param port the port number to validate
         * @throws IllegalArgumentException if port is invalid
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top