- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for matchingMG (0.21 sec)
-
cmd/metrics-v3-handler.go
// First collect all matching MetricsGroup's matchingMG := make(map[collectorPath]*MetricsGroup) for _, collPath := range h.metricsData.collectorPaths { if collPath.isDescendantOf(path) { if v, ok := h.metricsData.mgMap[collPath]; ok { matchingMG[collPath] = v } else if v, ok := h.metricsData.bucketMGMap[collPath]; ok { matchingMG[collPath] = v } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
testUser.setRoleNames(new String[] {}); assertFalse(fessUserBean.hasRole("admin")); // Test with single role - matching testUser.setRoleNames(new String[] { "admin" }); assertTrue(fessUserBean.hasRole("admin")); // Test with single role - not matching assertFalse(fessUserBean.hasRole("user")); // Test with multiple roles
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Test matching share and service (case insensitive) assertTrue(tree.matches("testShare", "testService")); assertTrue(tree.matches("TESTSHARE", "testService")); assertTrue(tree.matches("testshare", "TESTSERVICE")); // Test matching share with null service assertTrue(tree.matches("testShare", null)); // Test matching share with service starting with "??"
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
cmd/admin-handlers-pools.go
var err error idx, err = strconv.Atoi(pool) if err != nil { // We didn't find any matching pools, invalid input writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL) return } } else { idx = globalEndpoints.GetPoolIdx(pool) if idx == -1 { // We didn't find any matching pools, invalid input writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 04 20:47:24 UTC 2025 - 11K bytes - Viewed (0) -
README.md
- **Exception Handling** (`org.codelibs.core.exception`) - Runtime exception wrappers for common checked exceptions with consistent error handling ### Modern Java 21 Support - **Pattern Matching** - Leverages modern Java pattern matching for efficient type checking and conversion - **Switch Expressions** - Optimized implementations using switch expressions for better performance
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class WebApiManagerTest extends UnitFessTestCase { public void test_matches_withPathBasedImplementation() { // Test simple path-based matching WebApiManager manager = new TestWebApiManager("/api/v1"); TestHttpServletRequest request = new TestHttpServletRequest(); request.setRequestURI("/api/v1/search");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
finisher_api.go
default: tx = db.getInstance() tx.Statement.Dest = value tx = tx.callbacks.Create().Execute(tx) } return } // Save updates value in database. If value doesn't contain a matching primary key, value is inserted. func (db *DB) Save(value interface{}) (tx *DB) { tx = db.getInstance() tx.Statement.Dest = value reflectValue := reflect.Indirect(reflect.ValueOf(value))
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN); assertFalse(filter.accept(file), "Attributes not matching should be rejected"); verify(file, times(1)).getAttributes(); } @Test public void testAcceptIgnoresWildcard() throws Exception { // Wildcard shouldn't affect accept logic.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/DosFileFilter.java
* filtering there (although attributes are largely ignored by servers * they are filtered locally by the default accept method). * * @param wildcard the wildcard pattern for matching file names (e.g., "*.txt") * @param attributes the DOS file attributes to match (e.g., ATTR_DIRECTORY) */ public DosFileFilter(final String wildcard, final int attributes) { this.wildcard = wildcard;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
src[srcIndex + 35] = (byte) 0x84; // flags: group, active // Third name entry (18 bytes) - matching queryAddress String name3 = "TEST "; System.arraycopy(name3.getBytes("US-ASCII"), 0, src, srcIndex + 37, 16); src[srcIndex + 52] = 0x20; // hex code matching mockQueryAddress src[srcIndex + 53] = 0x04; // flags: active // MAC address (6 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0)