Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for newString (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/generics_test.go

    	}
    }
    
    func TestGenericsScanUUID(t *testing.T) {
    	ctx := context.Background()
    	users := []User{
    		{Name: uuid.NewString(), Age: 21},
    		{Name: uuid.NewString(), Age: 22},
    		{Name: uuid.NewString(), Age: 23},
    	}
    
    	if err := gorm.G[User](DB).CreateInBatches(ctx, &users, 2); err != nil {
    		t.Fatalf("CreateInBatches failed: %v", err)
    	}
    
    	userIds := []uuid.UUID{}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  2. cmd/local-locker_test.go

    						rng.Read(tmp[:])
    						res := []string{hex.EncodeToString(tmp[:])}
    
    						for range readers {
    							rng.Read(tmp[:])
    							ok, err := l.RLock(t.Context(), dsync.LockArgs{
    								UID:       uuid.NewString(),
    								Resources: res,
    								Source:    hex.EncodeToString(tmp[:8]),
    								Owner:     hex.EncodeToString(tmp[8:]),
    								Quorum:    &quorum,
    							})
    							if !ok || err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foodir/fooobject",
    			versionID:      uuid.NewString(),
    			objectModTime:  time.Now().UTC().Add(-10 * 24 * time.Hour), // Created 10 days ago
    			expectedAction: NoneAction,
    		},
    		// Disabled rules with NewerNoncurrentVersions shouldn't affect outcome.
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    NO; protected static final int LOOKUP_MAX = 1024; protected static final char LOOKUP_MAX_CHAR = 1024; protected static boolean[] lookupNameStartChar; protected static boolean[] lookupNameChar; protected void resetStringCache(); protected String newString(char[], int, int); protected String newStringIntern(char[], int, int); protected void ensureElementsCapaci(); protected void ensureAttributesCapa(int); protected void ensureNamespacesCapa(int); protected static final int fastHash(char[], int, int);...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 164.6K bytes
    - Click Count (0)
  5. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    This is preferred for entirely new things:
    
    ```groovy
    public interface NewThing {
        Property<String> getSomeProperty()
    }
    
    // in plugin
    newThing = objects.newInstance(NewThing.class)
    newThing.convention("some-value")
    ```
    
    This is acceptable for existing things:
    
    ```groovy
    public interface ExistingThing {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
  6. api/go1.txt

    pkg expvar, func Do(func(KeyValue))
    pkg expvar, func Get(string) Var
    pkg expvar, func NewFloat(string) *Float
    pkg expvar, func NewInt(string) *Int
    pkg expvar, func NewMap(string) *Map
    pkg expvar, func NewString(string) *String
    pkg expvar, func Publish(string, Var)
    pkg expvar, method (*Float) Add(float64)
    pkg expvar, method (*Float) Set(float64)
    pkg expvar, method (*Float) String() string
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top