- Sort Score
- Num 10 results
- Language All
Results 2291 - 2300 of 2,439 for ADD (0.02 seconds)
-
internal/ringbuffer/ring_buffer.go
if len(p) == 0 { return 0, r.readErr(false) } r.mu.Lock() defer r.mu.Unlock() if err := r.readErr(true); err != nil { return 0, err } r.wg.Add(1) defer r.wg.Done() n, err = r.read(p) for err == ErrIsEmpty && r.block { r.writeCond.Wait() if err = r.readErr(true); err != nil { break } n, err = r.read(p) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
internal/bucket/object/lock/lock.go
func (r Retention) Retain(created time.Time) bool { t, err := UTCNowNTP() if err != nil { lockLogIf(context.Background(), err) // Retain return true } return created.Add(r.Validity).After(t) } // DefaultRetention - default retention configuration. type DefaultRetention struct { XMLName xml.Name `xml:"DefaultRetention"` Mode RetMode `xml:"Mode"`
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
} if (StringUtil.isNotBlank(contentEncoding)) { metadata.set(ExtractData.CONTENT_ENCODING, contentEncoding); } if (pdfPassword != null) { metadata.add(FILE_PASSWORD, pdfPassword); } if (logger.isDebugEnabled()) { logger.debug("metadata: {}", metadata); } return metadata; }Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 30.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
SMBUtil.writeInt2(0, buffer, offset + 58); // Length // Negotiate context offset SMBUtil.writeInt4(144, buffer, offset + 60); // Point to contexts // Add negotiate contexts at offset 144 int ctxOffset = 144; // Preauth integrity context SMBUtil.writeInt2(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, buffer, ctxOffset);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
if (result == null) { result = INSTANCES[secondaryName(javaName)] if (result == null) { result = CipherSuite(javaName) } // Add the new cipher suite, or a confirmed alias. INSTANCES[javaName] = result } return result } private fun secondaryName(javaName: String): String = when {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 39.9K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val builder = MockResponse .Builder() .clearHeaders() .addHeader("Cookie: s=square") .addHeader("Cookies: delicious") builder.headers(Headers.Builder().add("Cookie", "a=android").build()) assertThat(headersToList(builder)).containsExactly("Cookie: a=android") } @Test fun regularResponse() { server.enqueue(MockResponse.Builder().body("hello world").build())Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
Assert.assertEquals(hashcode1, hashcode2); // idempotent Assert.assertEquals(hashFunction.bits(), hashcode1.bits()); Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); hashcodes.add(hashcode1); } assertThat((double) hashcodes.size()).isGreaterThan(objects * 0.95); // quite relaxed test assertHashBytesThrowsCorrectExceptions(hashFunction); assertIndependentHashers(hashFunction);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
docs/es/docs/tutorial/bigger-applications.md
Pero ahora sabes cómo funciona, para que puedas usar imports relativos en tus propias aplicaciones sin importar cuán complejas sean. 🤓 ### Agregar algunos `tags`, `responses`, y `dependencies` personalizados { #add-some-custom-tags-responses-and-dependencies } No estamos agregando el prefijo `/items` ni los `tags=["items"]` a cada *path operation* porque los hemos añadido al `APIRouter`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 19.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/bigger-applications.md
Mas agora você sabe como funciona, então você pode usar importações relativas em seus próprios aplicativos, não importa o quão complexos eles sejam. 🤓 ### Adicione algumas `tags`, `responses` e `dependencies` personalizadas { #add-some-custom-tags-responses-and-dependencies } Não estamos adicionando o prefixo `/items` nem `tags=["items"]` a cada *operação de rota* porque os adicionamos ao `APIRouter`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 19.7K bytes - Click Count (0) -
src/bytes/buffer.go
// we instead let capacity get twice as large so we // don't spend all our time copying. copy(b.buf, b.buf[b.off:]) } else if c > maxInt-c-n { panic(ErrTooLarge) } else { // Add b.off to account for b.buf[:b.off] being sliced off the front. b.buf = growSlice(b.buf[b.off:], b.off+n) } // Restore b.off and len(b.buf). b.off = 0 b.buf = b.buf[:m+n] return m }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0)