Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 800 for prefix (0.05 sec)

  1. guava/src/com/google/common/io/TempFileCreator.java

                  + "0 to "
                  + baseName
                  + (TEMP_DIR_ATTEMPTS - 1)
                  + ')');
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
          return File.createTempFile(
              /* prefix= */ prefix,
              /* suffix= */ null,
              /* directory= */ null /* defaults to java.io.tmpdir */);
        }
    
        /** Maximum loop count when creating temp directories. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. 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)
  3. cmd/metacache-walk.go

    		for i, entry := range entries {
    			if opts.Limit > 0 && objsReturned >= opts.Limit {
    				return nil
    			}
    			if len(prefix) > 0 && !strings.HasPrefix(entry, prefix) {
    				// Do not retain the file, since it doesn't
    				// match the prefix.
    				entries[i] = ""
    				continue
    			}
    			if len(forward) > 0 && entry < forward {
    				// Do not retain the file, since its
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                final MinioClient minioClient = createClient(fessConfig);
                final ListObjectsArgs args = ListObjectsArgs.builder().bucket(fessConfig.getStorageBucket())
                        .prefix(prefix != null && prefix.length() > 0 ? prefix + "/" : prefix).recursive(false).includeUserMetadata(false)
                        .useApiVersion1(false).build();
                for (final Result<Item> result : minioClient.listObjects(args)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  6. cmd/data-usage.go

    var prefixUsageCache = cachevalue.New[map[string]uint64]()
    
    // loadPrefixUsageFromBackend returns prefix usages found in passed buckets
    //
    //	e.g.:  /testbucket/prefix => 355601334
    func loadPrefixUsageFromBackend(ctx context.Context, objAPI ObjectLayer, bucket string) (map[string]uint64, error) {
    	z, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		// Prefix usage is empty
    		return map[string]uint64{}, nil
    	}
    
    	cache := dataUsageCache{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. cmd/metacache-bucket_test.go

    	}
    	var pathNames [paths]string
    	for i := range pathNames[:] {
    		pathNames[i] = fmt.Sprintf("prefix/%d", i)
    	}
    	for i := 0; i < elements; i++ {
    		bm.findCache(listPathOptions{
    			ID:           mustGetUUID(),
    			Bucket:       "",
    			BaseDir:      pathNames[i%paths],
    			Prefix:       "",
    			FilterPrefix: "",
    			Marker:       "",
    			Limit:        0,
    			AskDisks:     "strict",
    			Recursive:    false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 25 23:29:45 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. tests/test_custom_route_class.py

    @router_b.get("/")
    def get_b():
        return {"msg": "B"}
    
    
    @router_c.get("/")
    def get_c():
        return {"msg": "C"}
    
    
    router_b.include_router(router=router_c, prefix="/c")
    router_a.include_router(router=router_b, prefix="/b")
    app.include_router(router=router_a, prefix="/a")
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/a", 200, {"msg": "A"}),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          Character[] prefix = {(char) 86, (char) 99};
          Character[] all = concat(prefix, elements);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      public static final class CharsAsListMiddleSubListGenerator extends TestCharListGenerator {
        @Override
        protected List<Character> create(Character[] elements) {
          Character[] prefix = {Character.MIN_VALUE, Character.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)
Back to top