- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 4,619 for _new (0.03 sec)
-
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
// Test with no roles testUser.setRoleNames(new String[] {}); assertFalse(fessUserBean.hasRoles(new String[] { "admin", "user" })); // Test with single role matching one of accepted testUser.setRoleNames(new String[] { "admin" }); assertTrue(fessUserBean.hasRoles(new String[] { "admin", "user" })); assertTrue(fessUserBean.hasRoles(new String[] { "guest", "admin" }));
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/SmbComTransactionResponseTest.java
} } if (field == null) { throw new NoSuchFieldException(fieldName); } field.setAccessible(true); field.set(this, value); } catch (Exception e) { throw new RuntimeException("Failed to set field " + fieldName, e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public Tuple3<String, String, String>[] getVirtualHosts() { return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2"), new Tuple3<>("Custom-Header", "custom.value", "site3") };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
static { KRB5_MECH_OID = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); KRB5_MS_MECH_OID = new ASN1ObjectIdentifier("1.2.840.48018.1.2.2"); SUPPORTED_MECHS = new ASN1ObjectIdentifier[] { KRB5_MECH_OID, KRB5_MS_MECH_OID }; Oid krbNameOid = null; Oid krbMechOid = null; try { krbNameOid = new Oid("1.2.840.113554.1.2.2.1");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
guava/src/com/google/common/hash/Hashing.java
// We can't use Lists.asList() here because there's no hash->collect dependency List<HashFunction> list = new ArrayList<>(); list.add(first); list.add(second); Collections.addAll(list, rest); return new ConcatenatedHashFunction(list.toArray(new HashFunction[0])); } /** * Returns a hash function which computes its hash code by concatenating the hash codes of the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:06:57 UTC 2025 - 31.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
public class Deferred<RESPONSE extends Response> { /** * Constructs a new Deferred object. */ public Deferred() { // nothing } private RESPONSE response = null; private Throwable error = null; private final Promise promise = new Promise(); private final Queue<Consumer<RESPONSE>> doneCallbacks = new LinkedBlockingQueue<>();
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
// Arrange ASN1ObjectIdentifier mech1 = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); // Kerberos V5 ASN1ObjectIdentifier mech2 = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); // SPNEGO DummySSPContext ctx = new DummySSPContext(new byte[] { 1, 2, 3 }, true, "NBHOST", new ASN1ObjectIdentifier[] { mech1, mech2 }, 0xA5, true); // Act & Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
@BeforeEach public void setUp() { response = new SmbComReadAndXResponse(); } @Test public void testConstructor() { assertNotNull(response); } @Test public void testConstructorWithParameters() { byte[] b = new byte[0]; response = new SmbComReadAndXResponse(b, 0); assertNotNull(response); assertEquals(b, response.b);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java
throw new SAXRuntimeException(e); } catch (final ParserConfigurationException e) { throw new ParserConfigurationRuntimeException(e); } return factory; } /** * Creates a new instance of {@link SAXParser} using the default configuration of {@link SAXParserFactory}. * * @return A new instance of {@link SAXParser}. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); Object newValue = new Object(); assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue)); // don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertNull(cache.asMap().put(newKey, entry.getValue()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0)