Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 973 for pcount (0.05 sec)

  1. tests/customize_field_test.go

    	}
    
    	DB.Migrator().DropTable(&CustomizeColumn{})
    	DB.AutoMigrate(&CustomizeColumn{})
    
    	expected := "foo"
    	now := time.Now()
    	cc := CustomizeColumn{ID: 666, Name: expected, Date: &now}
    
    	if count := DB.Create(&cc).RowsAffected; count != 1 {
    		t.Error("There should be one record be affected when create record")
    	}
    
    	var cc1 CustomizeColumn
    	DB.First(&cc1, "mapped_name = ?", "foo")
    
    	if cc1.Name != expected {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  2. schema/schema_helper_test.go

    			if len(relations.Relations) != len(rs.Relations) {
    				t.Errorf("schema relations count don't match, expects %d, got %d", len(rs.Relations), len(relations.Relations))
    			}
    			if len(relations.EmbeddedRelations) != len(rs.EmbeddedRelations) {
    				t.Errorf("schema embedded relations count don't match, expects %d, got %d", len(rs.EmbeddedRelations), len(relations.EmbeddedRelations))
    			}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

      DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) {
        this.forward = forward;
      }
    
      @Override
      public int count(@Nullable Object element) {
        return forward.count(element);
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return forward.lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/DirectExecutorService.java

       *
       * @throws RejectedExecutionException if the executor has been previously shutdown
       */
      private void startTask() {
        synchronized (lock) {
          if (shutdown) {
            throw new RejectedExecutionException("Executor already shutdown");
          }
          runningTasks++;
        }
      }
    
      /** Decrements the running task count. */
      private void endTask() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. cmd/metrics-v3-cluster-erasure-set.go

    		"Write quorum for the erasure set in a pool", poolIDL, setIDL)
    	erasureSetOnlineDrivesCountMD = NewGaugeMD(erasureSetOnlineDrivesCount,
    		"Count of online drives in the erasure set in a pool", poolIDL, setIDL)
    	erasureSetHealingDrivesCountMD = NewGaugeMD(erasureSetHealingDrivesCount,
    		"Count of healing drives in the erasure set in a pool", poolIDL, setIDL)
    	erasureSetHealthMD = NewGaugeMD(erasureSetHealth,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            assertArrayEquals(defaultClientGuid, extractedGuid);
    
            // Verify security mode (2 bytes)
            assertEquals(DEFAULT_SECURITY_MODE, SMBUtil.readInt2(buffer, 20));
    
            // Verify dialect count (2 bytes)
            assertEquals(defaultDialects.length, SMBUtil.readInt2(buffer, 22));
    
            // Verify dialects
            int dialectOffset = 24;
            for (int i = 0; i < defaultDialects.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

         */
        public void setNumOfThread(final int numOfThread) {
            crawlerContext.numOfThread = numOfThread;
        }
    
        /**
         * Sets the maximum thread check count.
         * @param maxThreadCheckCount The maximum thread check count.
         */
        public void setMaxThreadCheckCount(final int maxThreadCheckCount) {
            crawlerContext.maxThreadCheckCount = maxThreadCheckCount;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

         */
        @Test
        void testGetEntries() {
            // Given
            MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum("test-server");
            DfsEnumArray200 dfsEnumArray = new DfsEnumArray200();
            dfsEnumArray.count = 2;
            dfsEnumArray.s = new DfsInfo200[2];
            dfsEnumArray.s[0] = new DfsInfo200();
            dfsEnumArray.s[0].dfs_name = "\\domain\share1";
            dfsEnumArray.s[1] = new DfsInfo200();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            if (username != null) {
                AccountAttempts account = accountAttempts.computeIfAbsent(username, k -> new AccountAttempts());
                account.recordFailure();
    
                if (account.getFailedAttempts() >= maxAttemptsPerAccount) {
                    account.lockOut(lockoutDuration);
                    totalAccountsLocked.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    	if err != nil {
    		t.Errorf("Not error should happen, got %v", err)
    	}
    
    	count := 0
    	for rows.Next() {
    		var name string
    		var age int64
    		rows.Scan(&name, &age)
    		count++
    	}
    
    	if count != 2 {
    		t.Errorf("Should found two records")
    	}
    }
    
    func TestRaw(t *testing.T) {
    	user1 := User{Name: "ExecRawSqlUser1", Age: 1}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top