Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 700 for count1 (0.04 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

            assertTrue(Arrays.asList(interfaces).contains(jcifs.Decodable.class), "SecurityInfo should extend Decodable interface");
        }
    
        @Test
        @DisplayName("Test all constant fields count")
        void testConstantFieldsCount() {
            Field[] fields = SecurityInfo.class.getDeclaredFields();
            long constantCount = Arrays.stream(fields)
                    .filter(f -> f.getType() == int.class)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            }
    
            if (states.count(RUNNING) == numberOfServices) {
              // This means that the manager is currently healthy. N.B. If other threads call isHealthy
              // they are not guaranteed to get 'true', because any service could fail right now.
              enqueueHealthyEvent();
            } else if (states.count(TERMINATED) + states.count(FAILED) == numberOfServices) {
              enqueueStoppedEvent();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  3. guava/src/com/google/common/util/concurrent/ServiceManager.java

            }
    
            if (states.count(RUNNING) == numberOfServices) {
              // This means that the manager is currently healthy. N.B. If other threads call isHealthy
              // they are not guaranteed to get 'true', because any service could fail right now.
              enqueueHealthyEvent();
            } else if (states.count(TERMINATED) + states.count(FAILED) == numberOfServices) {
              enqueueStoppedEvent();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. tests/association_generics_test.go

    	}
    	AssertAssociationCount(t, user, "Languages", 1, "after delete one")
    	// language row remains
    	var count int64
    	if err := DB.Model(&Language{}).Where("code = ?", "es").Count(&count).Error; err != nil {
    		t.Fatalf("count lang: %v", err)
    	}
    	if count != 1 {
    		t.Fatalf("expected language row still exists, got %d", count)
    	}
    }
    
    // Multi-owners: HasMany update and delete
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        }
        var count = 0
        while (!data.exhausted()) {
          assertFailsWith<ProtocolException> {
            clientReader.processNextFrame()
          }.also { expected ->
            assertThat(expected.message!!)
              .matches(Regex("Code \\d+ is reserved and may not be used."))
          }
          count++
        }
        assertThat(count).isEqualTo(1988)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. tests/associations_belongs_to_test.go

    	var companies []Company
    	if DB.Model(&users).Association("Company").Find(&companies); len(companies) != 3 {
    		t.Errorf("companies count should be %v, but got %v", 3, len(companies))
    	}
    
    	var managers []User
    	if DB.Model(&users).Association("Manager").Find(&managers); len(managers) != 2 {
    		t.Errorf("managers count should be %v, but got %v", 2, len(managers))
    	}
    
    	// Append
    	DB.Model(&users).Association("Company").Append(
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser_test.go

    	p := participle.MustBuild(
    		&FuncExpr{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    	)
    
    	validCases := []string{
    		"count(*)",
    		"sum(2 + s.id)",
    		"sum(t)",
    		"avg(s.id[1])",
    		"coalesce(s.id[1], 2, 2 + 3)",
    
    		"cast(s as string)",
    		"cast(s AS INT)",
    		"cast(s as DECIMAL)",
    		"extract(YEAR from '2018-01-09')",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. src/main/resources/fess_config.properties

    indexer.unprocessed.document.size=1000
    # Whether to enable click count tracking in the indexer.
    indexer.click.count.enabled=true
    # Whether to enable favorite count tracking in the indexer.
    indexer.favorite.count.enabled=true
    # Commit margin time (ms) for webfs in the indexer.
    indexer.webfs.commit.margin.time=5000
    # Maximum number of empty lists for webfs in the indexer.
    indexer.webfs.max.empty.list.count=3600
    # Update interval (ms) for webfs in the indexer.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                fileCache.put(path, new WeakReference<>(file));
            }
        }
    
        /**
         * Evict oldest leases based on LRU
         *
         * @param count number of leases to evict
         */
        private void evictOldestLeases(int count) {
            if (count <= 0 || leases.isEmpty()) {
                return;
            }
    
            // Find oldest leases by last access time
            leases.entrySet()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. logger/slog_test.go

    	logger := NewSlogLogger(slog.New(handler), Config{LogLevel: Info})
    
    	logger.Trace(context.Background(), time.Now(), func() (string, int64) {
    		return "select count(*) from users", 0
    	}, nil)
    
    	if strings.Contains(buf.String(), "gorm/logger/slog.go") {
    		t.Error("Found internal slog.go reference in caller frame. Expected only test file references.")
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 10:56:26 UTC 2025
    - 782 bytes
    - Viewed (0)
Back to top