Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for num (0.03 sec)

  1. src/cmd/asm/internal/arch/arm64.go

    }
    
    // ARM64RegisterExtension constructs an ARM64 register with extension or arrangement.
    func ARM64RegisterExtension(a *obj.Addr, ext string, reg, num int16, isAmount, isIndex bool) error {
    	Rnum := (reg & 31) + int16(num<<5)
    	if isAmount {
    		if num < 0 || num > 7 {
    			return errors.New("index shift amount is out of range")
    		}
    	}
    	if reg <= arm64.REG_R31 && reg >= arm64.REG_R0 {
    		if !isAmount {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        }
    
        @Test
        public void searchTestWith1Word() throws Exception {
            String query = "java";
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
            assertTrue(JsonPath.from(response).getInt("record_count") > 0);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. internal/grid/grid_types_msgp_test.go

    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Num":
    			z.Num, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Num")
    				return
    			}
    		case "String":
    			z.String, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "String")
    				return
    			}
    		default:
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (num == null) {
                num = fessConfig.getPagingSearchPageSizeAsInteger();
            }
            if (num > fessConfig.getPagingSearchPageMaxSizeAsInteger().intValue() || num <= 0) {
                num = fessConfig.getPagingSearchPageMaxSizeAsInteger();
            }
            return num;
        }
    
        @Override
        public String[] getLanguages() {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (num == null) {
                num = fessConfig.getPagingSearchPageSizeAsInteger();
            } else {
                try {
                    if (num.intValue() > fessConfig.getPagingSearchPageMaxSizeAsInteger().intValue() || num.intValue() <= 0) {
                        num = fessConfig.getPagingSearchPageMaxSizeAsInteger();
                    }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java

    public class SearchBody extends ListForm {
    
        // `size` is an alias of `num`.
        // `size` is prepared to be compatible with other Admin APIs
        @ValidateTypeFailure
        public Integer size;
    
        @Override
        public void initialize() {
            if (size != null) {
                num = num == null || num < size ? size : num;
            }
            super.initialize();
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. tests/scanner_valuer_test.go

    	}
    
    	// prepend asterisks
    	return append([]byte("***"), data...), nil
    }
    
    type Num int64
    
    func (i *Num) Scan(src interface{}) error {
    	switch s := src.(type) {
    	case []byte:
    		n, _ := strconv.Atoi(string(s))
    		*i = Num(n)
    	case int64:
    		*i = Num(s)
    	default:
    		return errors.New("Cannot scan NamedInt from " + reflect.ValueOf(src).String())
    	}
    	return nil
    }
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString();
            List<Map<String, String>> attrList = JsonPath.from(response).getList(getJsonPath() + ".attributes");
            assertEquals(NUM, attrList.size());
            for (Map<String, String> attr : attrList) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            logger.info("[END] testCreate");
        }
    
        protected void testRead() {
            logger.info("[BEGIN] testRead");
            // Test: get settings api.
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            List<String> nameList = getPropList(searchBody, getKeyProperty());
    
            assertEquals(NUM, nameList.size());
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

        protected static final int NUM = 20;
    
        private AccessTokenHelper accessTokenHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            accessTokenHelper = new AccessTokenHelper();
        }
    
        public void test_generateAccessToken() {
            List<String> tokens = new ArrayList<String>();
            for (int i = 0; i < NUM; i++) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top