Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,021 for Count (0.03 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

            if (_defaultParallel == null) {
                File cpuInfoFile = new File("/proc/cpuinfo");
                if (cpuInfoFile.exists()) {
                    // Count physical cores on any Linux distro ( don't count hyper-threading )
                    Map<String, Integer> socketToCore = new HashMap<>();
                    String currentID = "";
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

                        java.util.function.BiFunction<org.opensearch.action.update.UpdateRequestBuilder, org.opensearch.search.SearchHit, org.opensearch.action.update.UpdateRequestBuilder> processor) {
                    // Return a fixed count for testing
                    return 3L;
                }
            };
            ComponentUtil.register(mockSearchEngineClient, "searchEngineClient");
    
            // Mock FessConfig
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

            sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(final StringBuffer sb, final String str, final int width) {
            sb.append(str);
            final int count = width - str.length();
            for (int i = 0; i < count; i++) {
                sb.append(' ');
            }
        }
    
        /**
         * Return a string represeting this ACE.
         * <p>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: by Click Count (asc) */
        public static final String LABELS_search_result_sort_click_count_asc = "{labels.search_result_sort_click_count_asc}";
    
        /** The key of the message: by Click Count (desc) */
        public static final String LABELS_search_result_sort_click_count_desc = "{labels.search_result_sort_click_count_desc}";
    
        /** The key of the message: by Favorite Count (asc) */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 172.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/transport/Transport.java

        private final AtomicLong usageCount = new AtomicLong(1);
    
        /**
         * Acquires a reference to this transport, incrementing the usage count.
         *
         * @return session increased usage count
         */
        public Transport acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      @Param({"3", "30", "300"})
      int count;
    
      @Param({"0", "1", "16", "32", "100"})
      int componentLength;
    
      private Iterable<String> components;
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Verify configuration is set through parent constructor
            verify(mockConfig, atLeastOnce()).getPid();
        }
    
        @Test
        @DisplayName("Test readParameterWordsWireFormat with zero setup count")
        void testReadParameterWordsWireFormatZeroSetupCount() throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 10;
    
            // Prepare buffer with test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            // Fail 5 times, succeed on 6th attempt
            when(mockFuture.actionGet(anyLong(), any(TimeUnit.class))).thenAnswer(invocation -> {
                int count = attemptCount.incrementAndGet();
                if (count <= 5) {
                    throw new RuntimeException("Simulated failure #" + count);
                }
                return "Success";
            });
    
            final String result = fesenClient.get(c -> mockFuture);
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                        final Object count = contentMap.get("count");
                        if (count instanceof Number) {
                            return ((Number) count).longValue();
                        }
                    }
                }
            } catch (final Exception e) {
                logger.debug("Failed to get document count: indexName={}", indexName, e);
            }
            return -1;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
Back to Top