Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 254 for a_uuid (0.04 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  2. docs/debugging/reorder-disks/main.go

    		}
    		mami, err := getMajorMinor(diskName)
    		if err != nil {
    			log.Printf("skipping `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		devName := mountMap[mami]
    		uuid := uuidMap[devName]
    		fmt.Printf("UUID=%s\t%s\txfs\tdefaults,noatime\t0\t2\n", uuid, expectedDiskName)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/net/UuidUtilTest.java

        /**
         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
            System.out.println(uuid);
            final String uuid2 = UuidUtil.create();
            System.out.println(uuid2);
            assertFalse(uuid.equals(uuid2));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/rpc.java

                if ( this.uuid == null ) {
                    this.uuid = new uuid_t();
                }
                this.uuid.time_low = _src.dec_ndr_long();
                this.uuid.time_mid = (short) _src.dec_ndr_short();
                this.uuid.time_hi_and_version = (short) _src.dec_ndr_short();
                this.uuid.clock_seq_hi_and_reserved = (byte) _src.dec_ndr_small();
                this.uuid.clock_seq_low = (byte) _src.dec_ndr_small();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  6. internal/store/queuestore.go

    	return os.Remove(store.directory)
    }
    
    // PutMultiple - puts an item to the store.
    func (store *QueueStore[I]) PutMultiple(items []I) (Key, error) {
    	// Generate a new UUID for the key.
    	uid, err := uuid.NewRandom()
    	if err != nil {
    		return Key{}, err
    	}
    
    	store.Lock()
    	defer store.Unlock()
    	if uint64(len(store.entries)) >= store.entryLimit {
    		return Key{}, errLimitExceeded
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

    }
    
    data class FlameGraphGeneration(
        private val uuid: Int,
        private val name: String,
        private val scenarios: List<PerformanceScenario>
    ) : PerformanceTestProjectSpec {
        override val os: Os = Os.LINUX
        override
        fun asConfigurationId(model: CIBuildModel) =
            "${model.projectId}_PerformanceTest$uuid"
    
        override
        fun asName(): String =
            "Flamegraphs for $name"
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. docs_src/extra_data_types/tutorial001_an_py39.py

    from datetime import datetime, time, timedelta
    from typing import Annotated, Union
    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[Union[time, None], Body()] = None,
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 801 bytes
    - Viewed (0)
  9. cmd/data-scanner_test.go

    	item := scannerItem{
    		Path:       obj,
    		bucket:     bucket,
    		prefix:     "",
    		objectName: obj,
    		lifeCycle:  &lc,
    	}
    
    	modTime := time.Now()
    	uuids := make([]uuid.UUID, 5)
    	for i := range uuids {
    		uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)})
    	}
    	fivs := make([]FileInfo, 5)
    	for i := 0; i < 5; i++ {
    		fivs[i] = FileInfo{
    			Volume:      bucket,
    			Name:        obj,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top