Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 576 for PREFIX (0.09 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            });
            return interpolator;
        }
    
        @Nonnull
        public static Function<String, String> prefix(String prefix, Function<String, String> cb) {
            return s -> {
                String v = null;
                if (s.startsWith(prefix)) {
                    v = cb.apply(s.substring(prefix.length()));
                }
                return v;
            };
        }
    
        @SafeVarargs
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle.go

    func (lc Lifecycle) HasActiveRules(prefix string) bool {
    	if len(lc.Rules) == 0 {
    		return false
    	}
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    
    		if len(prefix) > 0 && len(rule.GetPrefix()) > 0 {
    			// we can skip this rule if it doesn't match the tested
    			// prefix.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/testdata/routes/k8s-gateway-http-route-path-prefix/configdump.json

          "virtual_hosts": [
           {
            "name": "backend",
            "domains": [
             "*"
            ],
            "routes": [
             {
              "match": {
               "prefix": "/healthz/ready"
              },
              "route": {
               "cluster": "agent"
              }
             }
            ]
           }
          ]
         },
         "last_updated": "2023-11-29T09:58:27.299Z"
        },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. cmd/metacache.go

    }
    
    // baseDirFromPrefix will return the base directory given an object path.
    // For example an object with name prefix/folder/object.ext will return `prefix/folder/`.
    func baseDirFromPrefix(prefix string) string {
    	b := path.Dir(prefix)
    	if b == "." || b == "./" || b == "/" {
    		b = ""
    	}
    	if !strings.Contains(prefix, slashSeparator) {
    		b = ""
    	}
    	if len(b) > 0 && !strings.HasSuffix(b, slashSeparator) {
    		b += slashSeparator
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

          Float[] prefix = {(float) 86, (float) 99};
          Float[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class FloatsAsListMiddleSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          Float[] prefix = {Float.MIN_VALUE, Float.MAX_VALUE};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

          Float[] prefix = {(float) 86, (float) 99};
          Float[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class FloatsAsListMiddleSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          Float[] prefix = {Float.MIN_VALUE, Float.MAX_VALUE};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

          Integer[] prefix = {(int) 86, (int) 99};
          Integer[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class IntsAsListMiddleSubListGenerator extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
          Integer[] prefix = {Integer.MIN_VALUE, Integer.MAX_VALUE};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testPrefix() throws Exception {
            final CopyOptions option = new CopyOptions();
            assertThat(option.prefix(BeanNames.search_()), is(sameInstance(option)));
            assertThat(option.prefix, is("search_"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testBeanDelimiter() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/README.vendor

    imported normally and vendored by the standard library.
    
    Vendored packages are internally renamed with a "vendor/" prefix
    to preserve the invariant that all packages have distinct paths.
    This is necessary to avoid compiler and linker conflicts. Adding
    a "vendor/" prefix also maintains the invariant that standard
    library packages begin with a dotless path element.
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 30 19:15:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. schema/schema_test.go

    	if table == "" {
    		return baseColumnName
    	}
    
    	s := strings.Split(table, "_")
    
    	var prefix string
    	switch len(s) {
    	case 1:
    		prefix = s[0][:3]
    	case 2:
    		prefix = s[0][:1] + s[1][:2]
    	default:
    		prefix = s[0][:1] + s[1][:1] + s[2][:1]
    	}
    	return prefix + "_" + baseColumnName
    }
    
    func TestEmbeddedStructForCustomizedNamingStrategy(t *testing.T) {
    	type CorpBase struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top