Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 1,794 for context_ (0.06 seconds)

  1. 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)}
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. cmd/erasure.go

    // StorageInfo - returns underlying storage statistics.
    func (er erasureObjects) StorageInfo(ctx context.Context) StorageInfo {
    	disks := er.getDisks()
    	endpoints := er.getEndpoints()
    	return getStorageInfo(disks, endpoints, true)
    }
    
    // LocalStorageInfo - returns underlying local storage statistics.
    func (er erasureObjects) LocalStorageInfo(ctx context.Context, metrics bool) StorageInfo {
    	disks := er.getDisks()
    	endpoints := er.getEndpoints()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Directory Lease Context for SMB3 directory leasing
     *
     * This context extends standard lease context with directory-specific metadata
     * for enhanced directory caching capabilities.
     */
    public class DirectoryLeaseContext implements CreateContextRequest {
    
        /**
         * Context name for directory lease request
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. cmd/erasure-multipart.go

    func (er erasureObjects) newMultipartUpload(ctx context.Context, bucket string, object string, opts ObjectOptions) (*NewMultipartUploadResult, error) {
    	if opts.CheckPrecondFn != nil {
    		if !opts.NoLock {
    			ns := er.NewNSLock(bucket, object)
    			lkctx, err := ns.GetLock(ctx, globalOperationTimeout)
    			if err != nil {
    				return nil, err
    			}
    			ctx = lkctx.Context()
    			defer ns.Unlock(lkctx)
    			opts.NoLock = true
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            } catch (final IOException e) {
                throw new IllegalArgumentException("Invalid file path: path=" + path, e);
            }
        }
    
        /**
         * Gets the servlet context.
         *
         * @return the servlet context
         */
        protected ServletContext getServletContext() {
            return LaServletContextUtil.getServletContext();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. tests/test_include_router_defaults_overrides.py

                                    "content": {"application/x-level-0": {"schema": {}}},
                                },
                                "400": {"description": "Client error level 0"},
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
                                        "application/json": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 385.6K bytes
    - Click Count (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
      fun initialize(applicationContext: Context) {
        if (PlatformRegistry.applicationContext == null) {
          // Make sure we aren't using an Activity or Service Context
          PlatformRegistry.applicationContext = applicationContext.applicationContext
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java

    import jcifs.Encodable;
    
    /**
     * SMB2 Create Context request interface. This interface defines the contract for
     * context data included in SMB2 Create requests.
     *
     * @author mbechler
     *
     */
    public interface CreateContextRequest extends Encodable {
    
        /**
         * Get the name of this create context.
         * @return context name as byte array
         */
        byte[] getName();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. cmd/warm-backend-gcs.go

    // Currently it's a no-op.
    func (gcs *warmBackendGCS) Put(ctx context.Context, key string, data io.Reader, length int64) (remoteVersionID, error) {
    	return gcs.PutWithMeta(ctx, key, data, length, map[string]string{})
    }
    
    func (gcs *warmBackendGCS) Get(ctx context.Context, key string, rv remoteVersionID, opts WarmBackendGetOpts) (r io.ReadCloser, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. cmd/data-usage.go

    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func(ctx context.Context) (map[string]uint64, error) {
    			m := make(map[string]uint64)
    			for _, pool := range z.serverPools {
    				for _, er := range pool.sets {
    					// Load bucket usage prefixes
    					ctx, done := context.WithTimeout(ctx, 2*time.Second)
    					ok := cache.load(ctx, er, bucket+slashSeparator+dataUsageCacheName) == nil
    					done()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu May 09 00:51:34 GMT 2024
    - 5.6K bytes
    - Click Count (0)
Back to Top