- Sort Score
- Num 10 results
- Language All
Results 3011 - 3020 of 4,282 for newA (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/signature-v2.go
if !compareSignatureV2(v2Auth, expectedAuth) { return ErrSignatureDoesNotMatch } return ErrNone } func calculateSignatureV2(stringToSign string, secret string) string { hm := hmac.New(sha1.New, []byte(secret)) hm.Write([]byte(stringToSign)) return base64.StdEncoding.EncodeToString(hm.Sum(nil)) } // Return signature-v2 for the presigned request.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
private var nextQueueName = 10000 private var coordinatorWaiting = false private var coordinatorWakeUpAt = 0L /** * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until * the already-requested ones are in service, otherwise we might create more threads than we need. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 30 11:30:11 GMT 2025 - 10.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
// The thread executing the task publishes itself to the superclass' reference and the thread // interrupting sets DONE when it has finished interrupting. private static final Runnable DONE = new DoNothingRunnable(); private static final Runnable PARKED = new DoNothingRunnable(); // Why 1000? WHY NOT! private static final int MAX_BUSY_WAIT_SPINS = 1000; @Override public final void run() { /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 10K bytes - Click Count (0) -
internal/crypto/sse-s3.go
if keyID == "" && len(kmsKey) != 0 { logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present")) } if keyID != "" && len(kmsKey) == 0 { logger.CriticalIf(context.Background(), errors.New("The KMS data key must not be empty if a key ID is present")) } if metadata == nil { metadata = make(map[string]string, 5) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 7.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
if (isRetainPayload()) { final byte[] payload = new byte[len]; System.arraycopy(buffer, start, payload, 0, len); setRawPayload(payload); } if (!verifySignature(buffer, start, len)) { throw new SMBProtocolDecodingException("Signature verification failed for " + getClass().getName()); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RequestHeaderDbm.java
// Singleton // ========= private static final RequestHeaderDbm _instance = new RequestHeaderDbm(); private RequestHeaderDbm() { } public static RequestHeaderDbm getInstance() { return _instance; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 10.3K bytes - Click Count (0) -
internal/config/policy/plugin/config.go
Transport: transport, CloseRespFn: closeRespFn, } if err = args.Validate(); err != nil { return args, err } return args, nil } // New - initializes Authorization Management Plugin. func New(args Args) *AuthZPlugin { if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" { return nil } return &AuthZPlugin{ args: args,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/math/LongMath.java
case HALF_UP: return (x >= 0) ? roundCeilingAsDouble : roundFloorAsDouble; default: throw new AssertionError("impossible"); } } } throw new AssertionError("impossible"); } /** * Returns the closest representable {@code long} to the absolute value of {@code x}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 03 21:01:09 GMT 2025 - 46.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
DomUtils.insertContentElement(customParent, "newChild", "new value"); String xmlOutput = DomUtils.toXml(doc); // Should be appended at the end since no ordering is defined for customParent assertTrue(xmlOutput.contains("<newChild>new value</newChild>"), "Should contain new child element"); int existingChildIndex = xmlOutput.indexOf("<existingChild>");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java
import org.junit.Test; /** * @author koichik * */ public class SingleValueIteratorTest { /** * */ @Test public void test() { final SingleValueIterator<String> it = new SingleValueIterator<String>("Foo"); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Foo")); assertThat(it.hasNext(), is(not(true))); }Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.1K bytes - Click Count (0)