- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 613 for block_a (0.06 seconds)
-
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
String ip = "192.168.1.7"; // Block the IP for (int i = 1; i <= 5; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, ip)); rateLimiter.recordFailure("user" + i, ip); } // Should be blocked assertFalse(rateLimiter.checkAttempt("user6", ip), "IP should be blocked"); // Manually unblockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockTableRenderer.java
import org.w3c.dom.Document; import org.w3c.dom.Element; public class BlockTableRenderer { public void renderTo(Iterable<BlockDoc> blocks, Element parent) { Document document = parent.getOwnerDocument(); // <thead> // <tr> // <td>Block</td> // <td>Description</td> // </tr> // </thead> Element thead = document.createElement("thead");Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
// you want the latter, use TFE_TensorHandleBackingDeviceName. This function // will block till the operation that produces `h` has completed. TF_CAPI_EXPORT extern const char* TFE_TensorHandleDeviceName( TFE_TensorHandle* h, TF_Status* status); // Returns the name of the device in whose memory `h` resides. // // This function will block till the operation that produces `h` has completed.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
} offset := ei.V2Obj.EcBSize * blockNum if offset >= m.size { return nil, fmt.Errorf("block %d out of range. offset %d > size %d", blockNum, offset, m.size) } m.blockOffset = offset m.blocks = (m.size + ei.V2Obj.EcBSize - 1) / ei.V2Obj.EcBSize if m.blocks > 0 { m.blocks-- } if blockNum < m.blocks { m.size = ei.V2Obj.EcBSize } else { m.size -= offset }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
@Test public void testClearBlacklist() throws Exception { validator.addToBlacklist("\\share\\blocked"); validator.clearBlacklist(); // Should allow previously blacklisted path String allowed = validator.validatePath("\\share\\blocked\\file.txt"); assertEquals("\\share\\blocked\\file.txt", allowed); } @Test public void testClearWhitelist() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CloseableUtil.java
* } finally { * close(is); * } * </pre> * <p> * If an exception occurs in the try block, there is a possibility that an exception will also occur in the finally block's {@link #close(Closeable)}. If the exception is thrown from the finally block, the original exception from the try block will be lost. * </p> * * @param closeable the closeable object * @see Closeable#close() */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.5K bytes - Click Count (0) -
cmd/xl-storage-format-v1.go
Distribution []int `json:"distribution"` // Checksums holds all bitrot checksums of all erasure encoded blocks Checksums []ChecksumInfo `json:"checksum,omitempty"` } // Equal equates current erasure info with newer erasure info. // returns false if one of the following check fails // - erasure algorithm is different // - data blocks are different // - parity blocks are different
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 22 15:30:50 GMT 2024 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/RateLimitFilter.java
logger.debug("Rate limit check: clientIp={}, path={}", clientIp, httpRequest.getRequestURI()); } // Check if IP is blocked if (rateLimitHelper.isBlocked(clientIp)) { if (logger.isDebugEnabled()) { logger.debug("Request blocked: clientIp={}", clientIp); } sendBlockedResponse(httpResponse); return; } // Check rate limit
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java
@Test public void test_blockIp() { rateLimitHelper.blockIp("192.168.1.100", 1000L); assertEquals(1, rateLimitHelper.getBlockedIpCount()); rateLimitHelper.unblockIp("192.168.1.100"); assertEquals(0, rateLimitHelper.getBlockedIpCount()); } @Test public void test_cleanup() { rateLimitHelper.blockIp("192.168.1.100", 1L);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java
parent.appendChild(summarySection); Element title = document.createElement("title"); summarySection.appendChild(title); title.appendChild(document.createTextNode("Script blocks")); Collection<BlockDoc> classBlocks = classDoc.getClassBlocks(); if (!classBlocks.isEmpty()) { Element table = document.createElement("table"); summarySection.appendChild(table);
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4K bytes - Click Count (0)