- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 37 for setTag (0.04 seconds)
-
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
int FLAG_A = 0x01; int FLAG_B = 0x02; assertFalse(m.isFlagSet(FLAG_A)); m.setFlag(FLAG_A); assertTrue(m.isFlagSet(FLAG_A)); // unset correctly removes the flag m.unsetFlag(FLAG_A); assertFalse(m.isFlagSet(FLAG_A)); // Test another flag m.setFlag(FLAG_B); assertTrue(m.isFlagSet(FLAG_B)); m.unsetFlag(FLAG_B);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("setFlag true sets the bit") void testSetFlagTrue() { msg.setFlag(0x4, true); assertTrue(msg.getFlag(0x4), "Bit should be set after setFlag(true)"); } @Test @DisplayName("setFlag false clears the bit") void testSetFlagFalse() { msg.setFlag(0x4, true); msg.setFlag(0x4, false);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
* It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw * a MojoExecutionException or MojoFailureException if error conditions occur.<br> * Also included is the <code>setLog(...)</code> method, which simply allows Maven to inject a logging mechanism which * will allow the Mojo to communicate to the outside world through standard Maven channels. * */ @ThreadSafe public interface Mojo {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
* @param value * Indicates whether to set (<code>true</code>) or * clear (<code>false</code>) the specified flag. */ public void setFlag(final int flag, final boolean value) { setFlags(value ? getFlags() | flag : getFlags() & (0xffffffff ^ flag)); } static int readULong(final byte[] src, final int index) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
internal/logger/reqinfo.go
func (r *ReqInfo) AppendTags(key, val string) *ReqInfo { if r == nil { return nil } r.Lock() defer r.Unlock() r.tags = append(r.tags, KeyVal{key, val}) return r } // SetTags - sets key/val to ReqInfo.tags func (r *ReqInfo) SetTags(key, val string) *ReqInfo { if r == nil { return nil } r.Lock() defer r.Unlock() // Search of tag key already exists in tags var updated bool for _, tag := range r.tags {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
* <code>NTLMSSP_NEGOTIATE_OEM</code>). * @param value Indicates whether to set (<code>true</code>) or * clear (<code>false</code>) the specified flag. */ public void setFlag(final int flag, final boolean value) { setFlags(value ? getFlags() | flag : getFlags() & (0xffffffff ^ flag)); } static int readULong(final byte[] src, final int index) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
*/ public void unsetFlag(final int flag) { flags &= ~flag; } /** * Sets a specific flag * @param flag the flag to set */ public void setFlag(final int flag) { flags |= flag; } /** * Get the result of the DCERPC call. * @return result exception if the call failed, null otherwise */ public DcerpcException getResult() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
* encoding for URL decoding.</p> * * <p>Example usage:</p> * <pre> * {@code * IdnDnsResolver resolver = new IdnDnsResolver(); * resolver.setFlag(IDN.ALLOW_UNASSIGNED); * resolver.setEncoding("UTF-8"); * InetAddress[] addresses = resolver.resolve("example.com"); * } * </pre> * */ public class IdnDnsResolver implements DnsResolver {
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 06 07:24:43 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/erasure-multipart-conditional_test.go
// This should fail even without quorum issues, but with quorum failure // we can't verify the ETag at all. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: "wrong-etag-12345", }, HasIfMatch: true, CheckPrecondFn: func(oi ObjectInfo) bool { // Precondition fails if ETags don't match return oi.ETag != "wrong-etag-12345" }, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/erasure-object-conditional_test.go
// Test Case 3: if-match with wrong ETag // Even if the ETag doesn't match, we should still get read quorum error // because we can't read the object to check the condition. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: "wrong-etag", }, CheckPrecondFn: func(oi ObjectInfo) bool { // Precondition fails if ETag doesn't match
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.9K bytes - Click Count (0)