Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 447 for myprefix (0.04 sec)

  1. cmd/utils.go

    		}
    		err = werr
    	}
    }
    
    // stringsHasPrefixFold tests whether the string s begins with prefix ignoring case.
    func stringsHasPrefixFold(s, prefix string) bool {
    	// Test match with case first.
    	return len(s) >= len(prefix) && (s[0:len(prefix)] == prefix || strings.EqualFold(s[0:len(prefix)], prefix))
    }
    
    func ptr[T any](a T) *T {
    	return &a
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  2. cmd/metacache-bucket_test.go

    	}
    	var pathNames [paths]string
    	for i := range pathNames[:] {
    		pathNames[i] = fmt.Sprintf("prefix/%d", i)
    	}
    	for i := range elements {
    		bm.findCache(listPathOptions{
    			ID:           mustGetUUID(),
    			Bucket:       "",
    			BaseDir:      pathNames[i%paths],
    			Prefix:       "",
    			FilterPrefix: "",
    			Marker:       "",
    			Limit:        0,
    			AskDisks:     "strict",
    			Recursive:    false,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          Short[] prefix = {(short) 86, (short) 99};
          Short[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class ShortsAsListMiddleSubListGenerator extends TestShortListGenerator {
        @Override
        protected List<Short> create(Short[] elements) {
          Short[] prefix = {Short.MIN_VALUE, Short.MAX_VALUE};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        protected List<Long> create(Long[] elements) {
          Long[] prefix = {86L, 99L};
          Long[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class LongsAsListMiddleSubListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          Short[] prefix = {(short) 86, (short) 99};
          Short[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class ShortsAsListMiddleSubListGenerator extends TestShortListGenerator {
        @Override
        protected List<Short> create(Short[] elements) {
          Short[] prefix = {Short.MIN_VALUE, Short.MAX_VALUE};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/bigger-applications.md

    As the path of each *path operation* has to start with `/`, like in:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...the prefix must not include a final `/`.
    
    So, the prefix in this case is `/items`.
    
    We can also add a list of `tags` and extra `responses` that will be applied to all the *path operations* included in this router.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    		}
    
    		// The prefix field should never appear in the GNU format.
    		var blk block
    		copy(blk[:], b.Bytes())
    		prefix := string(blk.toUSTAR().prefix())
    		prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator
    		if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) {
    			t.Errorf("test %d, found prefix in GNU format: %s", i, prefix)
    		}
    
    		tr := NewReader(&b)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses_test.go

    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 2, 0),
    						},
    						{
    							Prefix: "",
    							Suffix: "/test",
    							Seq:    getSequences(1, 64, 0),
    						},
    						{
    							Prefix: "http://minio",
    							Suffix: "/export/set",
    							Seq:    getSequences(2, 3, 0),
    						},
    					},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            if (StringUtil.isBlank(virtualHostKey)) {
                return null;
            }
            final String prefix = "/" + virtualHostKey;
            if (requestPath.startsWith(prefix)) {
                return requestPath.substring(prefix.length());
            }
            return null;
        }
    
        @Override
        public String toString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

                        prefix = zipUrlString.substring(warUrl.toExternalForm().length());
                        loadFromZip(zipUrl);
                    }
                }
    
                this.rootPackage = rootPackage;
                this.rootDir = rootDir;
                this.zipUrl = zipUrl;
                this.prefix = prefix;
            }
    
            private void loadFromZip(final URL zipUrl) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top