Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for newString (0.06 seconds)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        };
        for (char surrogate : surrogates) {
          builder.add(newString(surrogate));
          builder.add(newString(surrogate, 'n'));
          builder.add(newString('n', surrogate));
          builder.add(newString(surrogate, surrogate));
        }
        builder.add(newString(MIN_LOW_SURROGATE, MAX_HIGH_SURROGATE));
        ILL_FORMED_STRINGS = builder.build();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
Back to Top