- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 375 for allocs (0.04 sec)
-
src/bytes/buffer_test.go
readBytes, _ := buf.Read(tmp) yBytes := Repeat(y, growLen) allocs := testing.AllocsPerRun(100, func() { buf.Grow(growLen) buf.Write(yBytes) }) // Check no allocation occurs in write, as long as we're single-threaded. if allocs != 0 { t.Errorf("allocation occurred during write") } // Check that buffer has correct data.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
double avgAllocTimeNs = totalAllocTime.get() / (double) allocations.get(); double avgReleaseTimeNs = totalReleaseTime.get() / (double) releases.get(); System.out.printf("Buffer Cache Performance: %d allocs, %d releases in %.2f ms%n", allocations.get(), releases.get(), overallTimeMs); System.out.printf(" Avg allocation time: %.2f ns%n", avgAllocTimeNs);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
cmd/storage-rest-server.go
// If format.json is available and request sent the right disk-id, we allow the request return true } // checkID - check if the disk-id in the request corresponds to the underlying disk. func (s *storageRESTServer) checkID(wantID string) bool { if s.getStorage() == nil { return false } if wantID == "" { // Request sent empty disk-id, we allow the request
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
assertTrue(robotsTxt.allows("/ccc", "Crawler")); assertTrue(robotsTxt.allows("/ddd", "Crawler")); assertTrue(robotsTxt.allows("/aaa", "Crawler/1.0")); assertFalse(robotsTxt.allows("/bbb", "Crawler/1.0")); assertTrue(robotsTxt.allows("/ccc", "Crawler/1.0")); assertTrue(robotsTxt.allows("/ddd", "Crawler/1.0"));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java
// Test allows method when no directives are set RobotsTxt robotsTxt = new RobotsTxt(); // Should return true when no directives match assertTrue(robotsTxt.allows("/path", "MyBot")); assertTrue(robotsTxt.allows("/admin", "GoogleBot")); } public void test_allowsWithAllowedPath() { // Test allows method with allowed pathRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
* 2. If both Allow and Disallow patterns match with the same length, Allow takes precedence * 3. If no pattern matches, the path is allowed by default * * @param path the path to check * @return true if the path is allowed, false otherwise */ public boolean allows(final String path) { PathPattern longestAllowMatch = null;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
* <li>Disallow and Allow directives with pattern matching</li> * <li>Wildcard (*) in paths - matches any sequence of characters</li> * <li>End-of-path ($) matching - matches the end of URL path</li> * <li>Crawl-delay directive</li> * <li>Sitemap directive</li> * <li>Comment support (#)</li> * <li>Priority-based matching (longest match wins, Allow beats Disallow at equal length)</li> * </ul> *
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Network.java
*/ Graph<N> asGraph(); // // Network properties // /** * Returns true if this network allows parallel edges. Attempting to add a parallel edge to a * network that does not allow them will throw an {@link IllegalArgumentException}. */ boolean allowsParallelEdges(); /** Returns the order of iteration for the elements of {@link #edges()}. */ ElementOrder<E> edgeOrder(); //
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
*/ public void setAnalyzer(final Analyzer analyzer) { this.analyzer = analyzer; } /** * Sets whether to allow leading wildcards in query terms. * * @param allowLeadingWildcard true to allow leading wildcards, false otherwise */ public void setAllowLeadingWildcard(final boolean allowLeadingWildcard) { this.allowLeadingWildcard = allowLeadingWildcard;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.2K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
For example, if the **application server** is only receiving communication from the trusted **proxy**, you can set it to `--forwarded-allow-ips="*"` to make it trust all incoming IPs, as it will only receive requests from whatever is the IP used by the **proxy**.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 14.3K bytes - Viewed (0)