Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 580 for myprefix (0.08 sec)

  1. guava/src/com/google/common/collect/CompactHashing.java

      }
    
      /** Returns the hash prefix given the current mask. */
      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K 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