Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,274 for sort (0.11 sec)

  1. gorm.go

    package gorm
    
    import (
    	"context"
    	"database/sql"
    	"fmt"
    	"reflect"
    	"sort"
    	"sync"
    	"time"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    // for Config.cacheStore store PreparedStmtDB key
    const preparedStmtDBKey = "preparedStmt"
    
    // Config GORM config
    type Config struct {
    	// GORM perform single create, update, delete operations in transactions by default to ensure database data integrity
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       * SET types.
       *
       * The fields are specified as a list of member adapters. When decoding, a value for each
       * non-optional member but be included in sequence.
       *
       * TODO: for sets, sort by tag when encoding.
       * TODO: for set ofs, sort by encoded value when encoding.
       */
      fun <T> sequence(
        name: String,
        vararg members: DerAdapter<*>,
        decompose: (T) -> List<*>,
        construct: (List<*>) -> T,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.SortedLists.KeyAbsentBehavior;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    }
    
    // sortByModTime will sort versions by modtime in descending order,
    // meaning index 0 will be latest version.
    func (x *xlMetaV2) sortByModTime() {
    	// Quick check
    	if len(x.versions) <= 1 || sort.SliceIsSorted(x.versions, func(i, j int) bool {
    		return x.versions[i].header.sortsBefore(x.versions[j].header)
    	}) {
    		return
    	}
    
    	// We should sort.
    	sort.Slice(x.versions, func(i, j int) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. cmd/metacache-entries_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"fmt"
    	"math/rand"
    	"reflect"
    	"sort"
    	"testing"
    	"time"
    )
    
    func Test_metaCacheEntries_sort(t *testing.T) {
    	entries := loadMetacacheSampleEntries(t)
    
    	o := entries.entries()
    	if !o.isSorted() {
    		t.Fatal("Expected sorted objects")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

    import org.opensearch.client.Client;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.SearchHit;
    import org.opensearch.search.sort.SortBuilder;
    
    public class ESSourceReader implements DocumentReader {
        private static final Logger logger = LogManager.getLogger(ESSourceReader.class);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

          }
        }
        return null;
      }
    
      final void testAllDeclarations() throws Exception {
        checkState(method == null);
        Method[] methods = getClass().getMethods();
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method a, Method b) {
                return a.getName().compareTo(b.getName());
              }
            });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/sweden.js

    th||"467"===c)&&((11===b.length||"467"!==c)&&(/07[0-9{1}]/.test(c)||"467"===c))},errorMessage:"",errorMessageKey:"badTelephone"});var c=function(b){var c=[];return a.each(b,function(a,b){c.push(b.substr(0,1).toUpperCase()+b.substr(1,b.length))}),c.sort(),c};a.fn.suggestSwedishCounty=function(b){var d=c(a.formUtils.validators.validate_swecounty.counties);return a.formUtils.suggest(this,d,b)},a.fn.suggestSwedishMunicipality=function(b){var d=c(a.formUtils.validators.validate_swemunicipality.municipalities);return...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

                }
            }));
    
            final String baseQuery = queryBuf.toString().trim();
            if (StringUtil.isBlank(sortField)) {
                return baseQuery;
            }
            return baseQuery + " sort:" + sortField;
        }
    
        protected void appendQuery(final StringBuilder queryBuf, final String query) {
            String q = query;
            for (final String s : ComponentUtil.getFessConfig().getCrawlerDocumentSpaces()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                            }
                        } catch (InvalidVersionSpecificationException e) {
                            result.addException(e);
                        }
                    }
    
                    Collections.sort(versions);
                    result.setVersions(versions);
                }
            }
    
            return result;
        }
    
        private Map<String, ArtifactRepository> getVersions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top