Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4271 - 4280 of 5,353 for Return (0.04 sec)

  1. tests/distinct_test.go

    	AssertEqual(t, names1, []string{"distinct", "distinct-2", "distinct-3"})
    
    	var names2 []string
    	DB.Scopes(func(db *gorm.DB) *gorm.DB {
    		return db.Table("users")
    	}).Where("name like ?", "distinct%").Order("name").Pluck("name", &names2)
    	AssertEqual(t, names2, []string{"distinct", "distinct", "distinct", "distinct-2", "distinct-3"})
    
    	var results []User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

       * Double#valueOf}.
       */
      private static @Nullable Double referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Double.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      private static void checkTryParse(String input) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    	if modTime.IsZero() || modTime.Equal(timeSentinel) {
    		return FileInfo{}, errErasureReadQuorum
    	}
    
    	// Iterate through all the modTimes and count the FileInfo(s) with latest time.
    	for index, t := range modTimes {
    		if partsMetadata[index].IsValid() && t.Equal(modTime) {
    			latestFileInfo = partsMetadata[index]
    			count++
    		}
    	}
    
    	if !latestFileInfo.IsValid() {
    		return FileInfo{}, errErasureReadQuorum
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. schema/index_test.go

    		return
    	}
    
    	for i, ei := range expected {
    		t.Run(ei.Name, func(t *testing.T) {
    			ai := actual[i]
    			tests.AssertObjEqual(t, ai, ei, "Name", "Class", "Type", "Where", "Comment", "Option")
    
    			if len(ei.Fields) != len(ai.Fields) {
    				t.Errorf("expected index %q field length is %d but actual %d", ei.Name, len(ei.Fields), len(ai.Fields))
    				return
    			}
    			for i, ef := range ei.Fields {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 06 02:27:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. callbacks/raw.go

    func RawExec(db *gorm.DB) {
    	if db.Error == nil && !db.DryRun {
    		result, err := db.Statement.ConnPool.ExecContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		if err != nil {
    			db.AddError(err)
    			return
    		}
    
    		db.RowsAffected, _ = result.RowsAffected()
    
    		if db.Statement.Result != nil {
    			db.Statement.Result.Result = result
    			db.Statement.Result.RowsAffected = db.RowsAffected
    		}
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 468 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Supplier.java

      /**
       * Retrieves an instance of the appropriate type. The returned object may or may not be a new
       * instance, depending on the implementation.
       *
       * @return an instance of the appropriate type
       */
      @ParametricNullness
      T get();
    
      /**
       * <i>May</i> return {@code true} if {@code object} is a {@code Supplier} that behaves identically
       * to this supplier.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. cmd/metrics-v3-replication.go

    // such as transfer rate and objects queued.
    func loadClusterReplicationMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	st := globalReplicationStats.Load()
    	if st == nil {
    		return nil
    	}
    
    	qs := st.getNodeQueueStatsSummary()
    
    	qt := qs.QStats
    	m.Set(replicationAverageQueuedBytes, float64(qt.Avg.Bytes))
    	m.Set(replicationAverageQueuedCount, float64(qt.Avg.Count))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            assertEquals("line1\nline2", result[0]);
            assertEquals("normal", result[1]);
    
            // Carriage return
            value = "\"with\rcarriage\",return";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(2, result.length);
            assertEquals("with\rcarriage", result[0]);
            assertEquals("return", result[1]);
    
            // Unicode characters
            value = "\"日本語\",\"한국어\",\"中文\"";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeInternal.java

         */
        @Deprecated
        void connectLogon(CIFSContext tf) throws SmbException;
    
        /**
         * Sends an SMB request and returns the response
         * @param <T> the response type
         * @param request the request to send
         * @param params optional request parameters
         * @return response message
         * @throws CIFSException if an error occurs sending the request
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Result.java

     *
     * @see Request
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Result<REQ extends Request<?>> {
    
        /**
         * Returns the request that produced this result.
         *
         * @return the originating request instance, never {@code null}
         */
        @Nonnull
        REQ getRequest();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top