- Sort Score
- Num 10 results
- Language All
Results 2111 - 2120 of 3,002 for content (0.15 seconds)
-
guava-tests/test/com/google/common/io/ResourcesTest.java
// loader, even if it is not visible to the loader of the Resources class. File tempFile = createTempFile(); PrintWriter writer = new PrintWriter(tempFile, "UTF-8"); writer.println("rud a chur ar an méar fhada"); writer.close(); // First check that we can't find it without setting the context loader.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
internal/deadlineconn/deadlineconn.go
func (c *DeadlineConn) Read(b []byte) (n int, err error) { if c.abortReads.Load() { return 0, context.DeadlineExceeded } c.setReadDeadline() n, err = c.Conn.Read(b) return n, err } // Write - writes data to the connection. func (c *DeadlineConn) Write(b []byte) (n int, err error) { if c.abortWrites.Load() { return 0, context.DeadlineExceeded } c.setWriteDeadline() n, err = c.Conn.Write(b) return n, err
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 5.1K bytes - Click Count (0) -
generics_withresult_test.go
package gorm_test import ( "context" "testing" "gorm.io/driver/sqlite" "gorm.io/gorm" ) type withResultUser struct { ID uint Name string } func TestWithResultIncludesError(t *testing.T) { db, err := gorm.Open(sqlite.Open("file::memory:?cache=shared"), &gorm.Config{}) if err != nil { t.Fatalf("open db failed: %v", err) } if err := db.AutoMigrate(&withResultUser{}); err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 1.2K bytes - Click Count (0) -
cmd/rebalance-admin.go
Pools []rebalancePoolStatus `json:"pools"` // contains all pools, including inactive StoppedAt time.Time `json:"stoppedAt"` } func rebalanceStatus(ctx context.Context, z *erasureServerPools) (r rebalanceAdminStatus, err error) { // Load latest rebalance status meta := &rebalanceMeta{} err = meta.load(ctx, z.serverPools[0]) if err != nil { return r, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@Test @DisplayName("Should return negotiate contexts") void testGetNegotiateContexts() throws Exception { // Given NegotiateContextResponse[] contexts = new NegotiateContextResponse[2]; contexts[0] = new EncryptionNegotiateContext(); contexts[1] = new PreauthIntegrityNegotiateContext(); setPrivateField(response, "negotiateContexts", contexts); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
CtClass incubatingInterface CtClass stablePublicInterface Map interfaces def setup() { rule = new IncubatingInternalInterfaceAddedRule(getInitializationParams()) rule.context = context oldBase = instanceScopedPool.get(OldBase.name) newBase = instanceScopedPool.get(NewBase.name) newSuper = instanceScopedPool.get(NewSuper.name)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SID.java
} /** * Initializes the context and server for this SID for deferred resolution. * * @param context the CIFS context to use * @param server the server name for SID resolution */ public void initContext(final String server, final CIFSContext context) { this.origin_ctx = context; this.origin_server = server; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
callbacks/raw.go
package callbacks import ( "gorm.io/gorm" ) func RawExec(db *gorm.DB) { if db.Error == nil && !db.DryRun { result, err := db.Statement.ConnPool.ExecContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...) if err != nil { db.AddError(err) return } db.RowsAffected, _ = result.RowsAffected() if db.Statement.Result != nil { db.Statement.Result.Result = result
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 468 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/mail/LogNotificationPostcard.java
* Set the value of level, used in parameter comment. <br> * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty. * @param level The parameter value of level. (NotNull) */ public void setLevel(String level) { registerVariable("level", level); } /** * Set the value of hostname, used in parameter comment. <br>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
bufferIndex += 4; // Write comment offset (4 bytes) int commentOffset = serverNameSize + versionSize + typeSize + offsetSize; SMBUtil.writeInt4(commentOffset, buffer, bufferIndex); bufferIndex += 4; // Write comment at the calculated offset byte[] commentBytes = comment.getBytes(StandardCharsets.US_ASCII);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0)