Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for counts (0.03 sec)

  1. src/bytes/bytes.go

    		s = s[size:]
    		na++
    	}
    	return a[0:na]
    }
    
    // Count counts the number of non-overlapping instances of sep in s.
    // If sep is an empty slice, Count returns 1 + the number of UTF-8-encoded code points in s.
    func Count(s, sep []byte) int {
    	// special case
    	if len(sep) == 0 {
    		return utf8.RuneCount(s) + 1
    	}
    	if len(sep) == 1 {
    		return bytealg.Count(s, sep[0])
    	}
    	n := 0
    	for {
    		i := Index(s, sep)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. tests/generics_test.go

    	count, err := gorm.G[User](tx).Where("name like ?", "TestGenericsTransaction%").Count(ctx, "*")
    	if err != nil {
    		t.Fatalf("Count failed: %v", err)
    	}
    	if count != 2 {
    		t.Errorf("expected 2 records, got %d", count)
    	}
    
    	if err := tx.Rollback().Error; err != nil {
    		t.Fatalf("failed to rollback transaction: %v", err)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. docs/en/data/translation_reviewers.yml

    s111d:
      login: s111d
      count: 147
      avatarUrl: https://avatars.githubusercontent.com/u/4954856?v=4
      url: https://github.com/s111d
    Xewus:
      login: Xewus
      count: 140
      avatarUrl: https://avatars.githubusercontent.com/u/85196001?u=f8e2dc7e5104f109cef944af79050ea8d1b8f914&v=4
      url: https://github.com/Xewus
    sodaMelon:
      login: sodaMelon
      count: 127
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:58:29 UTC 2025
    - 65.1K bytes
    - Viewed (0)
  4. docs/en/data/people.yml

    experts:
    - login: tiangolo
      count: 1900
      avatarUrl: https://avatars.githubusercontent.com/u/1326112?u=cb5d06e73a9e1998141b1641aa88e443c6717651&v=4
      url: https://github.com/tiangolo
    - login: YuriiMotov
      count: 971
      avatarUrl: https://avatars.githubusercontent.com/u/109919500?u=b9b13d598dddfab529a52d264df80a900bfe7060&v=4
      url: https://github.com/YuriiMotov
    - login: github-actions
      count: 769
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:57:16 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  5. docs/en/data/contributors.yml

    tiangolo:
      login: tiangolo
      count: 776
      avatarUrl: https://avatars.githubusercontent.com/u/1326112?u=cb5d06e73a9e1998141b1641aa88e443c6717651&v=4
      url: https://github.com/tiangolo
    dependabot:
      login: dependabot
      count: 113
      avatarUrl: https://avatars.githubusercontent.com/in/29110?v=4
      url: https://github.com/apps/dependabot
    alejsdev:
      login: alejsdev
      count: 48
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:58:29 UTC 2025
    - 20K bytes
    - Viewed (0)
  6. docs/en/data/translators.yml

      login: nilslindemann
      count: 120
      avatarUrl: https://avatars.githubusercontent.com/u/6892179?u=1dca6a22195d6cd1ab20737c0e19a4c55d639472&v=4
      url: https://github.com/nilslindemann
    jaystone776:
      login: jaystone776
      count: 46
      avatarUrl: https://avatars.githubusercontent.com/u/11191137?u=299205a95e9b6817a43144a48b643346a5aac5cc&v=4
      url: https://github.com/jaystone776
    valentinDruzhinin:
      login: valentinDruzhinin
      count: 29
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:58:29 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

        private final String name;
        private final ImmutableList<Type> bounds;
    
        TypeVariableImpl(D genericDeclaration, String name, Type[] bounds) {
          disallowPrimitiveType(bounds, "bound for type variable");
          this.genericDeclaration = checkNotNull(genericDeclaration);
          this.name = checkNotNull(name);
          this.bounds = ImmutableList.copyOf(bounds);
        }
    
        @Keep
        public Type[] getBounds() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    
    const (
    	defaultBufSize = 4096
    )
    
    var (
    	ErrInvalidUnreadByte = errors.New("bufio: invalid use of UnreadByte")
    	ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune")
    	ErrBufferFull        = errors.New("bufio: buffer full")
    	ErrNegativeCount     = errors.New("bufio: negative count")
    )
    
    // Buffered input.
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            assertFalse(ruleManager.hasRule(rule1));
            assertFalse(ruleManager.hasRule(rule2));
            assertFalse(ruleManager.hasRule(rule3));
        }
    
        /**
         * Test getRule call count
         */
        public void test_getRuleCallCount() {
            TestRule rule = new TestRule("rule1", true);
            ruleManager.addRule(rule);
    
            ResponseData responseData = new ResponseData();
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	} else {
    		tags["invalid"] = "1"
    		tags["d:p"] = fmt.Sprintf("%d:%d", er.setDriveCount-er.defaultParityCount, er.defaultParityCount)
    	}
    
    	// count the number of offline disks
    	offline := 0
    	for i := range len(errs) {
    		var found bool
    		switch {
    		case errors.Is(errs[i], errDiskNotFound):
    			found = true
    		default:
    			for p := range dataErrsByPart {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top