Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,256 for contexto (1.99 sec)

  1. cmd/xl-storage.go

    }
    
    func (s *xlStorage) readMetadata(ctx context.Context, itemPath string) ([]byte, error) {
    	return xioutil.WithDeadline[[]byte](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) ([]byte, error) {
    		buf, _, err := s.readMetadataWithDMTime(ctx, itemPath)
    		return buf, err
    	})
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  2. callbacks.go

    	}
    
    	if optimizer, ok := stmt.Dest.(StatementModifier); ok {
    		optimizer.ModifyStatement(stmt)
    	}
    
    	if db.DefaultContextTimeout > 0 {
    		if _, ok := stmt.Context.Deadline(); !ok {
    			stmt.Context, _ = context.WithTimeout(stmt.Context, db.DefaultContextTimeout)
    		}
    	}
    
    	// assign model values
    	if stmt.Model == nil {
    		stmt.Model = stmt.Dest
    	} else if stmt.Dest == nil {
    		stmt.Dest = stmt.Model
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. tests/serializer_test.go

    }
    
    func (es EncryptedString) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {
    	return "hello" + string(es), nil
    }
    
    type CustomSerializer struct {
    	prefix []byte
    }
    
    func NewCustomSerializer(prefix string) *CustomSerializer {
    	return &CustomSerializer{prefix: []byte(prefix)}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. callbacks/update.go

    			for i := 0; i < stmt.ReflectValue.Len(); i++ {
    				if stmt.ReflectValue.CanAddr() {
    					field.Set(stmt.Context, stmt.ReflectValue.Index(i), value)
    				}
    			}
    		}
    	case reflect.Struct:
    		assignValue = func(field *schema.Field, value interface{}) {
    			if stmt.ReflectValue.CanAddr() {
    				field.Set(stmt.Context, stmt.ReflectValue, value)
    			}
    		}
    	default:
    		assignValue = func(field *schema.Field, value interface{}) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. cmd/namespace-lock.go

    type RWLocker interface {
    	GetLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error)
    	Unlock(lkCtx LockContext)
    	GetRLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error)
    	RUnlock(lkCtx LockContext)
    }
    
    // LockContext lock context holds the lock backed context and canceler for the context.
    type LockContext struct {
    	ctx    context.Context
    	cancel context.CancelFunc
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. api/next/65954.txt

    pkg log/slog, func NewMultiHandler(...Handler) *MultiHandler #65954
    pkg log/slog, method (*MultiHandler) Enabled(context.Context, Level) bool #65954
    pkg log/slog, method (*MultiHandler) Handle(context.Context, Record) error #65954
    pkg log/slog, method (*MultiHandler) WithAttrs([]Attr) Handler #65954
    pkg log/slog, method (*MultiHandler) WithGroup(string) Handler #65954
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Sep 04 18:07:44 UTC 2025
    - 417 bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SSPContext.java

         */
        byte[] getSigningKey() throws CIFSException;
    
        /**
         * Checks whether the security context is established.
         * @return whether the context is established
         */
        boolean isEstablished();
    
        /**
         * Initializes the security context with the given token.
         * @param token the input token bytes
         * @param off offset into the token array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

        assertTrue(adapter.matchesSocketFactory(context.socketFactory))
        assertNotNull(adapter.trustManager(context.socketFactory))
      }
    
      @Test
      fun testDoesntMatchSupportedCustomSocketFactory() {
        assumeFalse(adapter is StandardAndroidSocketAdapter)
    
        assertFalse(adapter.matchesSocketFactory(context.socketFactory))
        assertNull(adapter.trustManager(context.socketFactory))
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    	}
    	return false
    }
    
    func readAllXL(ctx context.Context, disks []StorageAPI, bucket, object string, readData, inclFreeVers bool) ([]FileInfo, []error) {
    	rawFileInfos, errs := readAllRawFileInfo(ctx, disks, bucket, object, readData)
    	return pickLatestQuorumFilesInfo(ctx, rawFileInfos, errs, bucket, object, readData, inclFreeVers)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessClient.java

         *
         * @param witnessServer the witness server address
         * @param context the CIFS context
         * @throws IOException if initialization fails
         */
        public WitnessClient(InetAddress witnessServer, CIFSContext context) throws IOException {
            this(witnessServer, context, new WitnessRpcClient(witnessServer, context));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top