Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 249 for uuid_t (0.73 sec)

  1. tests/postgres_test.go

    	if !hasLogID {
    		t.Fatalf("failed to found column log_id")
    	}
    }
    
    type Post struct {
    	ID         uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"`
    	Title      string
    	Categories []*Category `gorm:"Many2Many:post_categories"`
    }
    
    type Category struct {
    	ID    uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"`
    	Title string
    	Posts []*Post `gorm:"Many2Many:post_categories"`
    }
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SID.java

                    }
                }
            }
        }
    
        /**
         * Converts an RPC sid_t structure to a byte array.
         *
         * @param sid the RPC sid_t structure to convert
         * @return byte array representation of the SID
         */
        public static byte[] toByteArray(final rpc.sid_t sid) {
            final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
            int di = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

                log.error("Failed to create builtin SIDs", se);
            }
        }
    
        /**
         * Convert a sid_t to byte array
         *
         * @param sid the RPC sid_t structure to convert
         * @return byte encoded form
         */
        public static byte[] toByteArray(final rpc.sid_t sid) {
            final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
            int di = 0;
            dst[di] = sid.revision;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcBinding.java

         * @return the endpoint
         */
        public String getEndpoint() {
            return this.endpoint;
        }
    
        /**
         * @return the uuid
         */
        UUID getUuid() {
            return this.uuid;
        }
    
        /**
         * @return the major
         */
        int getMajor() {
            return this.major;
        }
    
        /**
         * @return the minor
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  8. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. schema/naming_test.go

    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top