Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 691 for prefix (0.03 seconds)

  1. cmd/httprange.go

    	// Return error if given range string doesn't start with byte range prefix.
    	if !strings.HasPrefix(rangeString, byteRangePrefix) {
    		return nil, fmt.Errorf("'%s' does not start with '%s'", rangeString, byteRangePrefix)
    	}
    
    	// Trim byte range prefix.
    	byteRangeString := strings.TrimPrefix(rangeString, byteRangePrefix)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/SmokeTest.kt

    import org.gradle.api.tasks.CacheableTask
    
    
    /**
     * A test that verifies Gradle can be used with popular third party plugins.
     */
    @CacheableTask
    abstract class SmokeTest : DistributionTest() {
        override val prefix = "smoke"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 889 bytes
    - Click Count (0)
  3. cmd/is-dir-empty_other.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    // isDirEmpty - returns true if there is no error and no object and prefix inside this directory
    func isDirEmpty(dirname string, _ bool) bool {
    	entries, err := readDirN(dirname, 1)
    	if err != nil {
    		return false
    	}
    	return len(entries) == 0
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1K bytes
    - Click Count (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            |
            |@Retention(RetentionPolicy.CLASS)
            |@Target([METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, ANNOTATION_TYPE])
            |@Language(value = "groovy", prefix = '''
            |${groovyImports().withTrimmableMargin()}
            |
            |${scriptReceiverAccessors().withTrimmableMargin()}
            |''')
            |@interface $name {}
            |""".trimMargin() + '\n'
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  5. cmd/storage-rest_test.go

    	}
    
    	testCases := []struct {
    		volumeName     string
    		prefix         string
    		expectedResult []string
    		expectErr      bool
    	}{
    		{"foo", "path", []string{"to/"}, false},
    		// prefix not found error.
    		{"foo", "nodir", nil, true},
    	}
    
    	for i, testCase := range testCases {
    		result, err := storage.ListDir(t.Context(), "", testCase.volumeName, testCase.prefix, -1)
    		expectErr := (err != nil)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      public static final class ImmutableLongArrayTailSubListAsListGenerator
          extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          Long[] prefix = {86L, 99L};
          Long[] all = concat(prefix, elements);
          return makeArray(all).subArray(2, elements.length + 2).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      @AndroidIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. schema/naming.go

    func (ns NamingStrategy) UniqueName(table, column string) string {
    	return ns.formatName("uni", table, ns.toDBName(column))
    }
    
    func (ns NamingStrategy) formatName(prefix, table, name string) string {
    	formattedName := strings.ReplaceAll(strings.Join([]string{
    		prefix, table, name,
    	}, "_"), ".", "_")
    
    	if ns.IdentifierMaxLength == 0 {
    		ns.IdentifierMaxLength = 64
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 03:46:59 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  8. internal/config/etcd/help.go

    			Description: `comma separated list of etcd endpoints` + defaultHelpPostfix(Endpoints),
    			Type:        "csv",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         PathPrefix,
    			Description: `namespace prefix to isolate tenants` + defaultHelpPostfix(PathPrefix),
    			Optional:    true,
    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         CoreDNSPath,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 27 03:11:37 GMT 2022
    - 2.1K bytes
    - Click Count (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/SmokeIdeTest.kt

     * These tests are running using `forking` executor, since current Gradle distribution has to be used as a Gradle version for IDE.
     */
    @CacheableTask
    abstract class SmokeIdeTest : DistributionTest() {
        override val prefix: String = "smokeIde"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 29 10:30:14 GMT 2023
    - 1K bytes
    - Click Count (0)
  10. cmd/erasure-metadata-utils_test.go

    			var first [17]int
    			rng := rand.New(rand.NewSource(0))
    			var tmp [16]byte
    			rng.Read(tmp[:])
    			prefix := hex.EncodeToString(tmp[:])
    			for range 10000 {
    				rng.Read(tmp[:])
    
    				y := hashOrder(fmt.Sprintf("%s/%x", prefix, hex.EncodeToString(tmp[:3])), x)
    				first[y[0]]++
    			}
    			t.Log("first:", first[:x])
    		})
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top