Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 234 for uuid4 (0.01 sec)

  1. tests/gaussdb_test.go

    func TestGaussDBMany2ManyWithDefaultValueUUID(t *testing.T) {
    	t.Skipf("This test case skipped, because of gaussdb does not have 'uuid-ossp' extension")
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    
    	if err := DB.Exec(`create extension if not exists "uuid-ossp"`).Error; err != nil {
    		t.Fatalf("Failed to create 'uuid-ossp' extension, but got error %v", err)
    	}
    
    	DB.Migrator().DropTable(&Post{}, &Category{}, "post_categories")
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. cmd/metacache-marker.go

    			if err != nil {
    				o.ID = mustGetUUID()
    				o.Create = true
    				continue
    			}
    			o.set = int(v)
    		default:
    			// Ignore unknown
    		}
    	}
    }
    
    // encodeMarker will encode a uuid and return it as a marker.
    // uuid cannot contain '[', ':' or ','.
    func (o listPathOptions) encodeMarker(marker string) string {
    	if o.ID == "" {
    		// Mark as returning listing...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. docs_src/extra_data_types/tutorial001_py310.py

    from datetime import datetime, time, timedelta
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: datetime = Body(),
        end_datetime: datetime = Body(),
        process_after: timedelta = Body(),
        repeat_at: time | None = Body(default=None),
    ):
        start_process = start_datetime + process_after
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 724 bytes
    - Viewed (0)
  4. docs_src/extra_data_types/tutorial001_an_py310.py

    from datetime import datetime, time, timedelta
    from typing import Annotated
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: Annotated[datetime, Body()],
        end_datetime: Annotated[datetime, Body()],
        process_after: Annotated[timedelta, Body()],
        repeat_at: Annotated[time | None, Body()] = None,
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 788 bytes
    - Viewed (0)
  5. cmd/xl-storage-free-version.go

    // Free-version will be added if fi.VersionID has transitioned.
    func (x *xlMetaV2) AddFreeVersion(fi FileInfo) error {
    	var uv uuid.UUID
    	var err error
    	switch fi.VersionID {
    	case "", nullVersionID:
    	default:
    		uv, err = uuid.Parse(fi.VersionID)
    		if err != nil {
    			return err
    		}
    	}
    
    	for i, version := range x.versions {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. schema/naming_test.go

    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    		fi.VersionID = nullVersionID
    	}
    
    	var uv uuid.UUID
    	var err error
    	if fi.VersionID != "" && fi.VersionID != nullVersionID {
    		uv, err = uuid.Parse(fi.VersionID)
    		if err != nil {
    			return err
    		}
    	}
    
    	var dd uuid.UUID
    	if fi.DataDir != "" {
    		dd, err = uuid.Parse(fi.DataDir)
    		if err != nil {
    			return err
    		}
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

            INTERFACES.put(name, syntax);
        }
    
        String proto;
        String server;
        String endpoint = null;
        HashMap options = null;
        UUID uuid = null;
        int major;
        int minor;
    
        DcerpcBinding(final String proto, final String server) {
            this.proto = proto;
            this.server = server;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. docs/resiliency/resiliency-tests.sh

    }
    
    function induce_bitrot() {
    	local NODE=$1
    	local DIR=$2
    	local FILE=$3
    	# Figure out the UUID of the directory where the `part.*` files are stored
    	UUID=$(docker exec resiliency-minio$NODE-1 /bin/sh -c "ls -l $DIR/test-bucket/initial-data/$FILE/*/part.1")
    	UUID=$(echo $UUID | cut -d " " -f 9 | cut -d "/" -f 6)
    
    	# Determine head and tail size of file where we will introduce bitrot
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. cmd/post-policy_test.go

    	// Add the credential string, only accept the credential passed.
    	credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential)
    	// Add the meta-uuid string, set to 1234
    	uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234")
    	// Add the content-encoding string, set to gzip.
    	contentEncodingConditionStr := fmt.Sprintf(`["eq", "$content-encoding", "%s"]`, "gzip")
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top