Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 871 for Contexto (0.19 sec)

  1. tests/transaction_test.go

    		user2 = *GetUser("transaction-nested-2", Config{})
    	)
    
    	if err := transaction(context.Background(), DB, func(ctx context.Context, tx *gorm.DB) error {
    		tx.Create(&user)
    
    		if err := tx.First(&User{}, "name = ?", user.Name).Error; err != nil {
    			t.Fatalf("Should find saved record")
    		}
    
    		if err := transaction(ctx, tx, func(ctx context.Context, tx1 *gorm.DB) error {
    			tx1.Create(&user1)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

         * @param sessionKey
         * @param label
         * @param context
         */
        private static byte[] derive(final byte[] sessionKey, final byte[] label, final byte[] context) {
            final KDFCounterBytesGenerator gen = new KDFCounterBytesGenerator(new HMac(new SHA256Digest()));
    
            final int r = 32;
            final byte[] suffix = new byte[label.length + context.length + 5];
            // per bouncycastle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbNamedPipeTest.java

    import jcifs.SmbConstants;
    import jcifs.SmbPipeHandle;
    import jcifs.SmbPipeResource;
    import jcifs.context.SingletonContext;
    import jcifs.internal.smb1.com.SmbComNTCreateAndX;
    import jcifs.internal.smb1.com.SmbComNTCreateAndXResponse;
    
    @ExtendWith(MockitoExtension.class)
    class SmbNamedPipeTest {
    
        // Creates a minimal valid CIFS context that does not perform I/O by itself
        private CIFSContext ctx() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. cmd/metrics-v3-system-memory.go

    	memAvailableMD = NewGaugeMD(memAvailable, "Available memory on the node")
    )
    
    // loadMemoryMetrics - `MetricsLoaderFn` for node memory metrics.
    func loadMemoryMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	memMetrics, err := c.memoryMetrics.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return err
    	}
    
    	m.Set(memTotal, float64(memMetrics.Total))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 17 05:10:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        /**
         * Creates a Lucene Query from this query builder.
         *
         * @param context the query shard context
         * @return the Lucene Query
         * @throws IOException if an I/O error occurs
         */
        @Override
        public Query toQuery(final QueryShardContext context) throws IOException {
            return queryBuilder.toQuery(context);
        }
    
        /**
         * Returns whether this query builder is a fragment.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. callbacks/delete.go

    			rel, ok := db.Statement.Schema.Relationships.Relations[column]
    			if !ok {
    				continue
    			}
    
    			switch rel.Type {
    			case schema.HasOne, schema.HasMany:
    				queryConds := rel.ToQueryConditions(db.Statement.Context, db.Statement.ReflectValue)
    				modelValue := reflect.New(rel.FieldSchema.ModelType).Interface()
    				tx := db.Session(&gorm.Session{NewDB: true}).Model(modelValue)
    				withoutConditions := false
    				if db.Statement.Unscoped {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

    import jcifs.internal.smb2.create.CreateContextResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle V2 Response Create Context
     *
     * MS-SMB2 Section 2.2.14.2.4
     */
    public class DurableHandleV2Response implements CreateContextResponse {
    
        /**
         * Context name for durable handle V2 response
         */
        public static final String CONTEXT_NAME = "DH2Q";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. schema/field_test.go

    package schema_test
    
    import (
    	"context"
    	"database/sql"
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestFieldValuerAndSetter(t *testing.T) {
    	var (
    		userSchema, _ = schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{})
    		user          = tests.User{
    			Model: gorm.Model{
    				ID:        10,
    				CreatedAt: time.Now(),
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

        }
    
        /**
         * Returns the context class loader.
         *
         * @return the context class loader
         */
        public static ClassLoader getClassLoader() {
            return Thread.currentThread().getContextClassLoader();
        }
    
        /**
         * Returns the resource from the context class loader.
         *
         * @param path
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/feature_request.md

    A clear and concise description of what you want to happen.
    
    **Describe alternatives you've considered**
    A clear and concise description of any alternative solutions or features you've considered.
    
    **Additional context**
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 20:49:54 UTC 2019
    - 610 bytes
    - Viewed (0)
Back to top