Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1621 - 1630 of 2,827 for int3 (0.03 sec)

  1. internal/s3select/jstream/decoder.go

    type ValueType int
    
    // Different types of JSON value
    const (
    	Unknown ValueType = iota
    	Null
    	String
    	Number
    	Boolean
    	Array
    	Object
    )
    
    // MetaValue wraps a decoded interface value with the document
    // position and depth at which the value was parsed
    type MetaValue struct {
    	Offset    int
    	Length    int
    	Depth     int
    	Value     interface{}
    	ValueType ValueType
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    			// Do not change any configuration
    			// upon NTP failure.
    			return r
    		}
    
    		if config.Rule.DefaultRetention.Days != nil {
    			r.Validity = t.AddDate(0, 0, int(*config.Rule.DefaultRetention.Days)).Sub(t)
    		} else {
    			r.Validity = t.AddDate(int(*config.Rule.DefaultRetention.Years), 0, 0).Sub(t)
    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. cmd/server-main.go

      {{.HelpName}} {{if .VisibleFlags}}[FLAGS] {{end}}DIR{1...64} DIR{65...128}
    
    DIR:
      DIR points to a directory on a filesystem. When you want to combine
      multiple drives into a single large system, pass one directory per
      filesystem separated by space. You may also use a '...' convention
      to abbreviate the directory arguments. Remote directories in a
      distributed setup are encoded as HTTP(s) URIs.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  4. docs_src/path_params_numeric_validations/tutorial002.py

    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(q: str, item_id: int = Path(title="The ID of the item to get")):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 265 bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

    /**
     * Transformed artifact is derived with some transformation from source artifact.
     *
     * @since TBD
     */
    class TransformedArtifact extends DefaultArtifact {
    
        private static final int SHA1_BUFFER_SIZE = 8192;
        private final DefaultConsumerPomArtifactTransformer defaultConsumerPomArtifactTransformer;
        private final MavenProject project;
        private final Supplier<Path> sourcePathProvider;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/connections.go

    func (c *ConfigWriter) PrintConnectionsDump(filter ConnectionsFilter, outputFormat string) error {
    	d := c.ztunnelDump
    	workloads := maps.Values(d.WorkloadState)
    	workloads = slices.SortFunc(workloads, func(a, b WorkloadState) int {
    		if r := cmp.Compare(a.Info.Namespace, b.Info.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Info.Namespace, b.Info.Namespace)
    	})
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. docs_src/settings/tutorial001.py

    from fastapi import FastAPI
    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    
    settings = Settings()
    app = FastAPI()
    
    
    @app.get("/info")
    async def info():
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 419 bytes
    - Viewed (0)
  8. docs_src/body_nested_models/tutorial004_py310.py

        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed May 11 17:29:02 UTC 2022
    - 455 bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

          Object[] duplicated = new Object[elements.length * 2];
          for (int i = 0; i < elements.length; i++) {
            duplicated[i] = elements[i];
            duplicated[i + elements.length] = elements[i];
          }
          return ((Multiset<E>) gen.create(duplicated)).elementSet();
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. docs_src/path_params_numeric_validations/tutorial002_an.py

    from fastapi import FastAPI, Path
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        q: str, item_id: Annotated[int, Path(title="The ID of the item to get")]
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 321 bytes
    - Viewed (0)
Back to top