Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 912 for Count (1.08 sec)

  1. tests/non_std_test.go

    		t.Errorf("UpdatedAt should be updated")
    	}
    
    	var animals []Animal
    	DB.Find(&animals)
    	if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) {
    		t.Error("RowsAffected should be correct when do batch update")
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

                resolveOrder = new int[i];
                System.arraycopy(tmp, 0, resolveOrder, 0, i);
            }
        }
    
        static class Sem {
            Sem(final int count) {
                this.count = count;
            }
    
            int count;
        }
    
        static class QueryThread extends Thread {
    
            Sem sem;
            String host, scope;
            int type;
            NbtAddress ans = null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. docs/debugging/hash-set/main.go

    	flag.IntVar(&setCount, "set-count", 0, "Total set count")
    	flag.IntVar(&shards, "shards", 0, "Total shards count")
    	flag.BoolVar(&verbose, "v", false, "Display all objects")
    
    	flag.Parse()
    
    	if deploymentID == "" {
    		log.Fatalln("deployment ID is mandatory")
    	}
    
    	if setCount == 0 {
    		log.Fatalln("set count cannot be zero")
    	}
    
    	id := uuid.MustParse(deploymentID)
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. src/bufio/example_test.go

    	// Set the split function for the scanning operation.
    	scanner.Split(bufio.ScanWords)
    	// Count the words.
    	count := 0
    	for scanner.Scan() {
    		count++
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading input:", err)
    	}
    	fmt.Printf("%d\n", count)
    	// Output: 15
    }
    
    // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

             * The number of deleted items.
             */
            protected long count = 1;
    
            /**
             * Sets the count of deleted items.
             * @param count The number of deleted items.
             * @return The ApiDeleteResponse instance.
             */
            public ApiDeleteResponse count(final long count) {
                this.count = count;
                return this;
            }
    
            @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. internal/logger/target/http/http.go

    	if err != nil {
    		if os.IsNotExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	count := 1
    	v := strings.Split(key.Name, ":")
    	if len(v) == 2 {
    		count, err = strconv.Atoi(v[0])
    		if err != nil {
    			return err
    		}
    	}
    
    	if err := h.send(context.Background(), eventData, count, h.payloadType, h.httpTimeout); err != nil {
    		return err
    	}
    
    	// Delete the event from store.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

              count++;
              if (count > maxCount) {
                Assert.fail(
                    "2-bit delta ("
                        + i
                        + ", "
                        + j
                        + ") is likely a "
                        + "characteristic for this hash. This was "
                        + "determined after "
                        + count
                        + " trials");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

             * The number of shares in the array.
             */
            public int count;
            /**
             * Array of ShareInfo0 structures containing share information.
             */
            public ShareInfo0[] array;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.count);
                _dst.enc_ndr_referent(this.array, 1);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

    public class SearchLogService {
    
        /** Date format pattern for parsing time ranges. */
        private static final String YYYY_MM_DD_HH_MM = "yyyy-MM-dd HH:mm";
    
        /** Field name for count values in aggregation results. */
        private static final String COUNT = "count";
    
        /** Field name for key values in aggregation results. */
        private static final String KEY = "key";
    
        /** Field name for ID values in aggregation results. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/CharMappingPager.java

            return 1;
        }
    
        /**
         * Gets the total number of records.
         * @return The total record count.
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records.
         * @param allRecordCount The total record count.
         */
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top