Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 165 for num (0.02 seconds)

  1. src/main/java/org/codelibs/core/io/ResourceUtil.java

            File dir = null;
            final URL url = getResource(path);
            if ("file".equals(url.getProtocol())) {
                final int num = path.split("/").length;
                dir = new File(getFileName(url));
                for (int i = 0; i < num; ++i) {
                    dir = dir.getParentFile();
                }
            } else {
                dir = new File(JarFileUtil.toJarFilePath(url));
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  2. internal/s3select/select_test.go

    		},
    		{
    			name: "var-field-count",
    			input: []byte(`id,time,num,num2,text
    1,2010-01-01T,7867786,4565.908123
    2,2017-01-02T03:04Z,-5, 0.765111,Some some
    `),
    			// Since we are doing offset, no headers are used.
    			wantResult: `{"id":"1","time":"2010-01-01T","num":"7867786","num2":"4565.908123"}
    {"id":"2","time":"2017-01-02T03:04Z","num":"-5","num2":" 0.765111","text":"Some some"}`,
    			wantErr: false,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

        }
    
        @Test
        public void test_indexFromDocumentReader() throws Exception {
            Client client = runner.client();
            int num = 1000;
            String indexName = "test";
    
            BulkRequestBuilder bulkRequestBuilder = client.prepareBulk();
            for (int i = 0; i < num; i++) {
                Map<String, Object> source = Collections.singletonMap("content", "test");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

        }
    
        @Test
        public void testScrollSearch_withNum() {
            Map<String, String> params = new HashMap<>();
            params.put("q", "*");
            params.put("num", "5");
    
            Response response = given().contentType("application/x-ndjson").params(params).when().get("/api/v1/documents/all");
    
            assertEquals(200, response.getStatusCode());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/IntsTest.java

        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
          assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b);
        }
      }
    
      public void testEnsureCapacity() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  6. MIGRATION.md

    **Parameters**:
    - `q` - Query string
    - `num` - Results per page (default: 20)
    - `start` - Starting offset (default: 0)
    - `fields.label` - Label filter
    - `lang` - Language preference
    
    **Example**:
    ```bash
    # Using the recommended endpoint
    curl "http://localhost:8080/api/v1/documents?q=search&num=10"
    
    # Or using the legacy endpoint
    curl "http://localhost:8080/json/?q=search&num=10"
    ```
    
    **Response**:
    ```json
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  7. src/main/webapp/js/suggestor.js

                type: "get",
                dataType: "json",
                cache: false,
                data: {
                  q: $textArea.val(),
                  field: settingAjaxInfo.fn,
                  num: settingAjaxInfo.num * 2,
                  lang: settingAjaxInfo.lang
                },
                traditional: true
              })
                .done(function (obj) {
                  suggestor.createAutoCompleteList(obj);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 11:04:08 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/orig/view/search.jsp

    				href="#searchOptions" class="badge text-bg-primary text-decoration-none"
    				data-bs-toggle="collapse"> <la:message
    						key="labels.searchoptions_num" arg0="${f:h(num)}" />
    			</a></li>
    			<li class="list-inline-item"><la:message key="labels.searchoptions_menu_lang" /> <a
    				href="#searchOptions" class="badge text-bg-primary text-decoration-none"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/search.jsp

    				href="#searchOptions" class="badge text-bg-primary text-decoration-none"
    				data-bs-toggle="collapse"> <la:message
    						key="labels.searchoptions_num" arg0="${f:h(num)}" />
    			</a></li>
    			<li class="list-inline-item"><la:message key="labels.searchoptions_menu_lang" /> <a
    				href="#searchOptions" class="badge text-bg-primary text-decoration-none"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. generics.go

    	q.db.Offset(offset)
    	return q
    }
    
    func (q *preloadBuilder) Order(value interface{}) PreloadBuilder {
    	q.db.Order(value)
    	return q
    }
    
    func (q *preloadBuilder) LimitPerRecord(num int) PreloadBuilder {
    	q.limitPerRecord = num
    	return q
    }
    
    func (c chainG[T]) Joins(jt clause.JoinTarget, on func(db JoinBuilder, joinTable clause.Table, curTable clause.Table) error) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
Back to Top