Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for finds (0.02 sec)

  1. tests/generics_test.go

    	if len(found) != len(batch) {
    		t.Errorf("expected %d from Raw Find, got %d", len(batch), len(found))
    	}
    
    	found, err = gorm.G[User](DB).Where("name like ?", "GenericsCreateInBatches%").Limit(2).Find(ctx)
    	if len(found) != 2 {
    		t.Errorf("expected %d from Raw Find, got %d", 2, len(found))
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. cmd/admin-handlers-pools.go

    		if byID {
    			var err error
    			idx, err = strconv.Atoi(pool)
    			if err != nil {
    				// We didn't find any matching pools, invalid input
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    				return
    			}
    		} else {
    			idx = globalEndpoints.GetPoolIdx(pool)
    			if idx == -1 {
    				// We didn't find any matching pools, invalid input
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. generics.go

    	var r T
    	err := g.g.apply(ctx).Model(r).Find(result).Error
    	return err
    }
    
    func (g execG[T]) Last(ctx context.Context) (T, error) {
    	var r T
    	err := g.g.apply(ctx).Last(&r).Error
    	return r, err
    }
    
    func (g execG[T]) Take(ctx context.Context) (T, error) {
    	var r T
    	err := g.g.apply(ctx).Take(&r).Error
    	return r, err
    }
    
    func (g execG[T]) Find(ctx context.Context) ([]T, error) {
    	var r []T
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. android/pom.xml

      <url>https://github.com/google/guava</url>
      <properties>
        <!--
        When building Guava, you can pass (e.g.) `-Dsurefire.toolchain.version=21` to change which version to run tests under.
        You may find that you need to use Java 11+ to *build* Guava, but it continues to work under Java 8, and you can run tests to verify that, as we do.
        -->
        <surefire.toolchain.version>${java.specification.version}</surefire.toolchain.version>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  5. pom.xml

      <url>https://github.com/google/guava</url>
      <properties>
        <!--
        When building Guava, you can pass (e.g.) `-Dsurefire.toolchain.version=21` to change which version to run tests under.
        You may find that you need to use Java 11+ to *build* Guava, but it continues to work under Java 8, and you can run tests to verify that, as we do.
        -->
        <surefire.toolchain.version>${java.specification.version}</surefire.toolchain.version>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		if errs[index] != nil {
    			continue
    		}
    
    		if readData {
    			metaFileInfos[index].Data = metadataArray[index].data.find(versionID)
    		}
    	}
    	if !readData {
    		for i := range v2bufs {
    			metaDataPoolPut(v2bufs[i])
    		}
    	}
    
    	// Return all the metadata.
    	return metaFileInfos, errs
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    			return pi, toObjectErr(errUploadIDNotFound, bucket, object, uploadID)
    		}
    		if errors.Is(err, errFileNotFound) {
    			// An in-quorum errFileNotFound means that client stream
    			// prematurely closed and we do not find any xl.meta or
    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    	// The start index is inclusive and the end index is exclusive.
    	type span struct {
    		start int
    		end   int
    	}
    	spans := make([]span, 0, 32)
    
    	// Find the field start and end indices.
    	// Doing this in a separate pass (rather than slicing the string s
    	// and collecting the result substrings right away) is significantly
    	// more efficient, possibly due to cache effects.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top