Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 88 for descB (0.03 sec)

  1. tests/distinct_test.go

    	AssertEqual(t, names2, []string{"distinct", "distinct", "distinct", "distinct-2", "distinct-3"})
    
    	var results []User
    	if err := DB.Distinct("name", "age").Where("name like ?", "distinct%").Order("name, age desc").Find(&results).Error; err != nil {
    		t.Errorf("failed to query users, got error: %v", err)
    	}
    
    	expects := []User{
    		{Name: "distinct", Age: 20},
    		{Name: "distinct", Age: 18},
    		{Name: "distinct-2", Age: 18},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    		flags            uint16
    		crc32            uint32
    		uncompressedSize uint64
    		compressedSize   uint64
    	}{
    		{
    			name:    "small store w desc",
    			content: []byte("gophers"),
    			method:  Store,
    			flags:   0x8,
    		},
    		{
    			name:    "small deflate wo desc",
    			content: bytes.Repeat([]byte("abcdefg"), 2048),
    			method:  Deflate,
    		},
    	}
    
    	// write a zip file
    	archive := new(bytes.Buffer)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/FacetInfo.java

            if (StringUtil.isNotBlank(sort)) {
                final String[] values = sort.split("\\.");
                final boolean asc;
                if (values.length > 1) {
                    asc = !"desc".equalsIgnoreCase(values[1]);
                } else {
                    asc = true;
                }
                if (values.length > 0) {
                    if ("term".equals(values[0]) || "key".equals(values[0])) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. schema/index_test.go

    		},
    		"idx_user_indices_name3": {
    			Name:  "idx_user_indices_name3",
    			Type:  "btree",
    			Where: "name3 != 'jinzhu'",
    			Fields: []schema.IndexOption{{
    				Field:   &schema.Field{Name: "Name3"},
    				Sort:    "desc",
    				Collate: "utf8",
    				Length:  10,
    			}},
    		},
    		"idx_user_indices_name4": {
    			Name:   "idx_user_indices_name4",
    			Class:  "UNIQUE",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users_test.go

    	if !slices.Equal(groups, expected) {
    		c.Fatalf("expected group listing: %v, got: %v", expected, groups)
    	}
    	groupInfo, err := s.adm.GetGroupDescription(ctx, group)
    	if err != nil {
    		c.Fatalf("group desc err: %v", err)
    	}
    	c.Assert(groupInfo.Name, group)
    	c.Assert(set.CreateStringSet(groupInfo.Members...), set.CreateStringSet(accessKey))
    	c.Assert(groupInfo.Policy, policy)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  6. tests/associations_test.go

    	if err := DB.Create(&orders).Error; err != nil {
    		t.Errorf("failed to create orders, got %v", err)
    	}
    
    	coupon2 := Coupon{
    		AppliesToProduct: []*CouponProduct{{Desc: "coupon-description"}},
    	}
    
    	DB.Session(&gorm.Session{FullSaveAssociations: true}).Create(&coupon2)
    	var result Coupon
    	if err := DB.Preload("AppliesToProduct").First(&result, "id = ?", coupon2.ID).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

        @Override
        public ACE[] getSecurity ( boolean resolveSids ) throws IOException {
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                SecurityDescriptor desc = querySecurity(th, SecurityInfo.DACL_SECURITY_INFO);
                ACE[] aces = desc.getAces();
                if ( aces != null ) {
                    processAces(aces, resolveSids);
                }
    
                return aces;
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        final String[] values = s.split(":");
                        if (values.length > 1) {
                            return SortBuilders.fieldSort(values[0]).order("desc".equalsIgnoreCase(values[0]) ? SortOrder.DESC : SortOrder.ASC);
                        }
                        return SortBuilders.fieldSort(values[0]).order(SortOrder.ASC);
                    }).toArray(n -> new SortBuilder[n]));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            if (fieldSortBuilderList == null) {
                fieldSortBuilderList = new ArrayList<>();
            }
            fieldSortBuilderList.add(SortBuilders.fieldSort(field).order(ascOrDesc ? SortOrder.ASC : SortOrder.DESC));
        }
    
        // ===================================================================================
        //                                                                       Invalid Query
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            if (fieldSortBuilderList == null) {
                fieldSortBuilderList = new ArrayList<>();
            }
            fieldSortBuilderList.add(SortBuilders.fieldSort(field).order(ascOrDesc ? SortOrder.ASC : SortOrder.DESC));
        }
    
        // ===================================================================================
        //                                                                       Invalid Query
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top