Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for _comps (0.19 sec)

  1. src/archive/zip/reader.go

    func (r *Reader) RegisterDecompressor(method uint16, dcomp Decompressor) {
    	if r.decompressors == nil {
    		r.decompressors = make(map[uint16]Decompressor)
    	}
    	r.decompressors[method] = dcomp
    }
    
    func (r *Reader) decompressor(method uint16) Decompressor {
    	dcomp := r.decompressors[method]
    	if dcomp == nil {
    		dcomp = decompressor(method)
    	}
    	return dcomp
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    		opts = append([]s2.WriterOption{s2.WriterPadding(compPadEncrypted), s2.WriterPaddingSrc(rng)}, compressOpts...)
    	}
    	comp := s2.NewWriter(pw, opts...)
    	indexCh := make(chan []byte, 1)
    	go func() {
    		defer xioutil.SafeClose(indexCh)
    		cn, err := io.Copy(comp, r)
    		if err != nil {
    			comp.Close()
    			pw.CloseWithError(err)
    			return
    		}
    		if on > 0 && on != cn {
    			// if client didn't sent all data
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. src/archive/zip/struct.go

    	// of the timezone used for the date fields), many competing extra fields
    	// have been invented. Pervasive use effectively makes them "official".
    	//
    	// See http://mdfs.net/Docs/Comp/Archiving/Zip/ExtraField
    	zip64ExtraID       = 0x0001 // Zip64 extended information
    	ntfsExtraID        = 0x000a // NTFS
    	unixExtraID        = 0x000d // UNIX
    	extTimeExtraID     = 0x5455 // Extended timestamp
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. internal/grid/muxclient.go

    			}
    			// Send new ping.
    			gridLogIf(m.ctx, m.send(message{Op: OpPing, MuxID: m.MuxID}))
    		}
    	}
    }
    
    // responseCh is the channel to that goes to the requester.
    // internalResp is the channel that comes from the server.
    func (m *muxClient) handleTwowayResponses(responseCh chan<- Response, internalResp <-chan Response) {
    	defer m.parent.deleteMux(false, m.MuxID)
    	defer xioutil.SafeClose(responseCh)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	}
    	if dataDir != "" {
    		srcDataPath = retainSlash(pathJoin(srcVolumeDir, srcPath, dataDir))
    		// make sure to always use path.Join here, do not use pathJoin as
    		// it would additionally add `/` at the end and it comes in the
    		// way of renameAll(), parentDir creation.
    		dstDataPath = pathutil.Join(dstVolumeDir, dstPath, dataDir)
    	}
    
    	if err = checkPathLength(srcFilePath); err != nil {
    		return res, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    			clusterEnv[k] = v
    		}
    	}
    
    	return os.WriteFile(filepath.Join(dir, "cluster.env"), []byte(mapToString(clusterEnv)), filePerms)
    }
    
    // Get and store the needed certificate and token. The certificate comes from the CA root cert, and
    // the token is generated by kubectl under the workload group's namespace and service account
    // TODO: Make the following accurate when using the Kubernetes certificate signer
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "test-group", true)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    	// confirm that the user is able to access the bucket - permission comes
    	// from group.
    	c.mustListObjects(ctx, uClient, bucket)
    
    	// Create STS user.
    	assumeRole := cr.STSAssumeRole{
    		Client:      s.TestSuiteCommon.client,
    		STSEndpoint: s.endPoint,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. src/archive/zip/register.go

    func RegisterDecompressor(method uint16, dcomp Decompressor) {
    	if _, dup := decompressors.LoadOrStore(method, dcomp); dup {
    		panic("decompressor already registered")
    	}
    }
    
    // RegisterCompressor registers custom compressors for a specified method ID.
    // The common methods [Store] and [Deflate] are built in.
    func RegisterCompressor(method uint16, comp Compressor) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. schema/index_test.go

    	// Composite Index: Flattened structure.
    	Data0A string `gorm:"index:,composite:comp_id0"`
    	Data0B string `gorm:"index:,composite:comp_id0"`
    
    	// Composite Index: Nested structure.
    	Data1A string `gorm:"index:,composite:comp_id1"`
    	CompIdxLevel1C
    
    	// Composite Index: Unique and priority.
    	Data2A string `gorm:"index:,unique,composite:comp_id2,priority:2"`
    	CompIdxLevel2C
    }
    
    type CompIdxLevel1C struct {
    	CompIdxLevel1B
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    			zipw:      w.cw,
    			compCount: &countWriter{w: w.cw},
    			crc32:     crc32.NewIEEE(),
    		}
    		comp := w.compressor(fh.Method)
    		if comp == nil {
    			return nil, ErrAlgorithm
    		}
    		var err error
    		fw.comp, err = comp(fw.compCount)
    		if err != nil {
    			return nil, err
    		}
    		fw.rawCount = &countWriter{w: fw.comp}
    		fw.header = h
    		ow = fw
    	}
    	w.dir = append(w.dir, h)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top