Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. internal/s3select/sql/statement.go

    		if err != nil {
    			return nil, err
    		}
    
    		// Pick output column names
    		if expr.As != "" {
    			output, err = output.Set(expr.As, v)
    		} else if comp, ok := getLastKeypathComponent(expr.Expression); ok {
    			output, err = output.Set(comp, v)
    		} else {
    			output, err = output.Set(fmt.Sprintf("_%d", i+1), v)
    		}
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	// Update count of records output.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000/file.txt",
    		"/home/support/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend",
    	}
    
    	for i, name := range names {
    		var b bytes.Buffer
    
    		tw := NewWriter(&b)
    		if err := tw.WriteHeader(&Header{
    			Name: name,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	type healResp struct {
    		respBytes []byte
    		apiErr    APIError
    		errBody   string
    	}
    
    	// Define a closure to start sending whitespace to client
    	// after 10s unless a response item comes in
    	keepConnLive := func(w http.ResponseWriter, r *http.Request, respCh chan healResp) {
    		ticker := time.NewTicker(time.Second * 10)
    		defer ticker.Stop()
    		started := false
    	forLoop:
    		for {
    			select {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top