Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,996 for _size (0.01 sec)

  1. callbacks/update.go

    	}
    
    	if !updatingValue.CanAddr() || stmt.Dest != stmt.Model {
    		switch stmt.ReflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			if size := stmt.ReflectValue.Len(); size > 0 {
    				var isZero bool
    				for i := 0; i < size; i++ {
    					for _, field := range stmt.Schema.PrimaryFields {
    						_, isZero = field.ValueOf(stmt.Context, stmt.ReflectValue.Index(i))
    						if !isZero {
    							break
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types.go

    		return false
    	}
    	return true
    }
    
    // Validate checks if sf is a valid batch-job size filter
    func (sf BatchJobSizeFilter) Validate() error {
    	if sf.LowerBound > 0 && sf.UpperBound > 0 && sf.LowerBound >= sf.UpperBound {
    		return BatchJobYamlErr{
    			line: sf.line,
    			col:  sf.col,
    			msg:  "invalid batch-job size filter",
    		}
    	}
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                return allowedPaths.toArray(new String[allowedPaths.size()]);
            }
    
            /**
             * Gets all disallowed paths for this directive.
             * @return an array of disallowed paths
             */
            public String[] getDisallows() {
                return disallowedPaths.toArray(new String[disallowedPaths.size()]);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

            final List<WebApiManager> list = new ArrayList<>();
            Collections.addAll(list, webApiManagers);
            list.add(webApiManager);
            webApiManagers = list.toArray(new WebApiManager[list.size()]);
        }
    
        /**
         * Gets the appropriate web API manager for the given request.
         *
         * @param request The HTTP servlet request
         * @return The matching web API manager, or null if no match found
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

          )
        val request = Request.Builder().url("http://square.com/").build()
        val response = readHttp2HeadersList(headerBlock, Protocol.HTTP_2).request(request).build()
        val headers = response.headers
        assertThat(headers.size).isEqualTo(1)
        assertThat(headers.name(0)).isEqualTo(":version")
        assertThat(headers.value(0)).isEqualTo("HTTP/1.1")
      }
    
      @Test fun http2HeadersListDropsForbiddenHeadersHttp2() {
        val request =
          Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                .sortedBy { -it.totalTime }
        return splitIntoBuckets(
            LinkedList(testProjectDurations),
            TestProjectDuration::totalTime,
            { largeElement: TestProjectDuration, size: Int -> largeElement.split(size) },
            { list: List<TestProjectDuration> -> MultipleTestProjectBucket(list) },
            numberOfBuckets,
            MAX_TEST_PROJECTS_PER_BUCKET,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. docs/distributed/DESIGN.md

    - Choice of erasure set size is automatic based on the number of drives available, let's say for example if there are 32 servers and 32 drives which is a total of 1024 drives. In this scenario 16 becomes the erasure set size. This is decided based on the greatest common divisor (GCD) of acceptable erasure set sizes ranging from *4 to 16*.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 8K bytes
    - Viewed (2)
  8. guava-tests/test/com/google/common/graph/TestUtil.java

      }
    
      /**
       * In some cases our graph implementations return custom sets that define their own size() and
       * contains(). Verify that these sets are consistent with the elements of their iterator.
       */
      @CanIgnoreReturnValue
      static <T> Set<T> sanityCheckSet(Set<T> set) {
        assertThat(set).hasSize(Iterators.size(set.iterator()));
        for (Object element : set) {
          assertThat(set).contains(element);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

        /**
         * Gets the maximum size for alphanumeric terms from configuration.
         *
         * @return the maximum alphanumeric term size
         */
        protected int getMaxAlphanumTermSize() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return fessConfig.getCrawlerDocumentMaxAlphanumTermSizeAsInteger();
        }
    
        /**
         * Gets the maximum size for symbol terms from configuration.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            QueryContext context = buildQuery("test");
            assertEquals(2, context.sortBuilders().size());
        }
    
        public void test_addDefaultSort_scoreField() {
            queryHelper.addDefaultSort("_score", "DESC");
    
            QueryContext context = buildQuery("test");
            assertEquals(1, context.sortBuilders().size());
            assertTrue(context.sortBuilders().get(0).toString().contains("_score"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
Back to top