Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 258 for Num (0.22 sec)

  1. 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();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test_util.cc

      }
      return server_def;
    }
    
    tensorflow::ServerDef GetServerDef(int num_tasks) {
      return GetServerDef("localhost", num_tasks);
    }
    
    tensorflow::ServerDef GetMultiClientServerDef(const std::string& job_name,
                                                  int num_tasks,
                                                  int num_virtual_gpus) {
      tensorflow::ServerDef server_def;
      server_def.set_protocol("grpc");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  3. 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
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/testdata/describe/tls_config.json

                          "timeout": "0s",
                          "retry_policy": {
                            "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                            "num_retries": 2,
                            "retry_host_predicate": [
                              {
                                "name": "envoy.retry_host_predicates.previous_hosts"
                              }
                            ],
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 8K 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();
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

            for (int j = 0; j < 3; ++j) {
                final int num = 100000;
                final Map<String, String> hmap = new HashMap<String, String>();
                final Map<String, String> cimap = new CaseInsensitiveMap<String>();
    
                long start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
                    hmap.put("a" + String.valueOf(i), null);
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. 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++) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test_util.h

    // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it.
    tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name,
                                       int num_tasks);
    
    // Create a ServerDef with job name "localhost" and add `num_tasks` tasks in it.
    tensorflow::ServerDef GetServerDef(int num_tasks);
    
    // Create a multi-client ServerDef with the given `job_name`, add `num_tasks`
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api.cc

        return -1;
      }
    
      int num_dims = -1;
      status->status = tensorflow::unwrap(h)->NumDims(&num_dims);
      return num_dims;
    }
    
    int64_t TFE_TensorHandleNumElements(TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return -1;
      }
    
      int64_t num_elements = -1;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  10. tensorflow/c/experimental/grappler/grappler_test.cc

        if (node.op() == "AddN") {
          int num_values = 0;
          TF_GetInputPropertiesListSize(graph_properties, node.name().c_str(),
                                        &num_values, status);
          EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
          EXPECT_EQ(num_values, 1);
    
          std::vector<TF_Buffer*> in_props_buf(num_values, TF_NewBuffer());
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top