Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 450 for Counter (0.07 sec)

  1. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

      public static void assertBasic(Escaper escaper) throws IOException {
        // Escapers operate on characters: no characters, no escaping.
        Assert.assertEquals("", escaper.escape(""));
        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. fastapi/applications.py

                )
                return func
    
            return decorator
    
        def include_router(
            self,
            router: Annotated[routing.APIRouter, Doc("The `APIRouter` to include.")],
            *,
            prefix: Annotated[str, Doc("An optional path prefix for the router.")] = "",
            tags: Annotated[
                Optional[List[Union[str, Enum]]],
                Doc(
                    """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  3. cmd/config-dir.go

    func mkdirAllIgnorePerm(path string) error {
    	err := os.MkdirAll(path, 0o700)
    	if err != nil {
    		// It is possible in kubernetes like deployments this directory
    		// is already mounted and is not writable, ignore any write errors.
    		if osIsPermission(err) {
    			err = nil
    		}
    	}
    	return err
    }
    
    func getConfigFile() string {
    	return filepath.Join(globalConfigDir.Get(), minioConfigFile)
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

     * is requested entries may be evicted on each cache modification, on occasional cache accesses, or
     * on calls to {@link Cache#cleanUp}. Expired entries may be counted by {@link Cache#size}, but will
     * never be visible to read or write operations.
     *
     * <p>If {@link #weakKeys weakKeys}, {@link #weakValues weakValues}, or {@link #softValues
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1/generated.proto

      // +optional
      // +featureGate=CSIStorageCapacity
      optional bool storageCapacity = 4;
    
      // fsGroupPolicy defines if the underlying volume supports changing ownership and
      // permission of the volume before being mounted.
      // Refer to the specific FSGroupPolicy values for additional details.
      //
      // This field is immutable.
      //
      // Defaults to ReadWriteOnceWithFSType, which will examine each volume
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

         */
        static class InnerClass {
            InnerEnum enumProp
    
            /**
             * This is an inner inner class.
             */
            class AnotherInner {
                InnerClass outer
            }
        }
    
        GroovyInterface getSomeProp() {
            // ignore anonymous classes
            return new GroovyInterface() {}
        }
    
        InnerClass.AnotherInner innerClassProp
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 609 bytes
    - Viewed (0)
  7. cmd/api-utils.go

    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    	packageName := fmt.Sprintf("github.com/minio/minio/cmd.%s.", cmdType)
    	name = strings.TrimPrefix(name, packageName)
    	name = strings.TrimSuffix(name, "Handler-fm")
    	name = strings.TrimSuffix(name, "-fm")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 04 18:05:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/templates.md

    ```html
    <a href="/items/42">
    ```
    
    ## Templates and static files
    
    You can also use `url_for()` inside of the template, and use it, for example, with the `StaticFiles` you mounted with the `name="static"`.
    
    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    In this example, it would link to a CSS file at `static/styles.css` with:
    
    ```CSS hl_lines="4"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. cmd/os_unix.go

    func parseDirEnt(buf []byte) (consumed int, name []byte, typ os.FileMode, err error) {
    	// golang.org/issue/15653
    	dirent := (*syscall.Dirent)(unsafe.Pointer(&buf[0]))
    	if v := unsafe.Offsetof(dirent.Reclen) + unsafe.Sizeof(dirent.Reclen); uintptr(len(buf)) < v {
    		return consumed, nil, typ, fmt.Errorf("buf size of %d smaller than dirent header size %d", len(buf), v)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top