Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2941 - 2950 of 3,507 for int (0.04 sec)

  1. cmd/admin-handlers-pools.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	v := vars["pool"]
    	byID := vars["by-id"] == "true"
    
    	pools := strings.Split(v, ",")
    	poolIndices := make([]int, 0, len(pools))
    
    	for _, pool := range pools {
    		var idx int
    		if byID {
    			var err error
    			idx, err = strconv.Atoi(pool)
    			if err != nil {
    				// We didn't find any matching pools, invalid input
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

            }
    
            override fun timeout(): Timeout = Timeout.NONE
          }
        return source.buffer().asResponseBody(null, -1)
      }
    
      private fun newResponse(
        responseBody: ResponseBody,
        code: Int = 200,
      ): Response =
        Response
          .Builder()
          .request(
            Request
              .Builder()
              .url("https://example.com/")
              .build(),
          ).protocol(Protocol.HTTP_1_1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

      fun charset(): Charset = charset
    
      override fun equals(other: Any?): Boolean =
        other is Challenge &&
          other.scheme == scheme &&
          other.authParams == authParams
    
      override fun hashCode(): Int {
        var result = 29
        result = 31 * result + scheme.hashCode()
        result = 31 * result + authParams.hashCode()
        return result
      }
    
      override fun toString(): String = "$scheme authParams=$authParams"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:01:35 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt

    import jetbrains.buildServer.configs.kotlin.BuildType
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    
    fun BuildType.applyPerformanceTestSettings(
        os: Os = Os.LINUX,
        arch: Arch = Arch.AMD64,
        timeout: Int = 30,
    ) {
        applyDefaultSettings(os = os, arch = arch, timeout = timeout)
        artifactRules =
            """
            build/report-*-performance-tests.zip => .
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         *
         * @param crudMode the current CRUD mode
         * @param expectedMode the expected CRUD mode
         * @param dictId the dictionary ID for error handling
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode, final String dictId) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  6. cmd/post-policy-fan-out.go

    	errs := make([]error, len(fanOutEntries))
    	objInfos := make([]ObjectInfo, len(fanOutEntries))
    
    	var wg sync.WaitGroup
    	for i, req := range fanOutEntries {
    		wg.Add(1)
    		go func(idx int, req minio.PutObjectFanOutEntry) {
    			defer wg.Done()
    
    			objInfos[idx] = ObjectInfo{Name: req.Key}
    
    			hopts := hash.Options{
    				Size:       int64(len(fanOutBuf)),
    				MD5Hex:     opts.MD5Hex,
    				SHA256Hex:  "",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

            assertEquals("settings-test-2.suggest", anotherSettingsInstance.getAsString(SuggestSettings.DefaultKeys.INDEX, ""));
        }
    
        @Test
        public void test_setAndGetAsInt() {
            String key = "key";
            int value = 1;
            settings.set(key, value);
            assertEquals(value, settings.getAsInt(key, -1));
        }
    
        @Test
        public void test_setAndGetAsLong() {
            String key = "key";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

        }
    
        public void test_builder_multipleDocuments() {
            // Test adding multiple documents to builder
            SearchResult.SearchResultBuilder builder = SearchResult.create();
    
            for (int i = 0; i < 10; i++) {
                Map<String, Object> doc = new HashMap<>();
                doc.put("id", String.valueOf(i));
                doc.put("index", i);
                builder.addDocument(doc);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_longMessage() {
            // Test with a very long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("Long message part ").append(i).append(" ");
            }
            String longMessage = sb.toString();
    
            PluginException exception = new PluginException(longMessage);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withLongMessage() {
            // Test with long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("a");
            }
            String message = sb.toString();
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top