Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 1,832 for context_ (0.07 seconds)

  1. cmd/local-locker_test.go

    	"github.com/minio/minio/internal/dsync"
    )
    
    func TestLocalLockerExpire(t *testing.T) {
    	wResources := make([]string, 1000)
    	rResources := make([]string, 1000)
    	quorum := 0
    	l := newLocker()
    	ctx := t.Context()
    	for i := range wResources {
    		arg := dsync.LockArgs{
    			UID:       mustGetUUID(),
    			Resources: []string{mustGetUUID()},
    			Source:    t.Name(),
    			Owner:     "owner",
    			Quorum:    &quorum,
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java

        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        @Override
        public DependencyNode transformGraph(DependencyNode root, DependencyGraphTransformationContext context) {
            ArtifactTypeRegistry registry = context.getSession().getArtifactTypeRegistry();
            if (logger.isDebugEnabled()) {
                StringBuilder sb = new StringBuilder();
                root.accept(new DependencyGraphDumper(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  3. cmd/metrics-v3-replication.go

    )
    
    // loadClusterReplicationMetrics - `MetricsLoaderFn` for cluster replication metrics
    // such as transfer rate and objects queued.
    func loadClusterReplicationMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	st := globalReplicationStats.Load()
    	if st == nil {
    		return nil
    	}
    
    	qs := st.getNodeQueueStatsSummary()
    
    	qt := qs.QStats
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLog.java

        public void debug(Supplier<String> content) {
            if (isDebugEnabled()) {
                logger.debug(content.get());
            }
        }
    
        @Override
        public void debug(Supplier<String> content, Throwable error) {
            if (isDebugEnabled()) {
                logger.debug(content.get(), error);
            }
        }
    
        @Override
        public void info(CharSequence content) {
            if (isInfoEnabled()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. cmd/admin-heal-ops.go

    	lastHealActivity time.Time
    
    	// Holds the request-info for logging
    	ctx context.Context
    
    	// used to lock this structure as it is concurrently accessed
    	mutex sync.RWMutex
    }
    
    // NewHealSequence - creates healSettings, assumes bucket and
    // objPrefix are already validated.
    func newHealSequence(ctx context.Context, bucket, objPrefix, clientAddr string,
    	hs madmin.HealOpts, forceStart bool,
    ) *healSequence {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. cmd/erasure-common.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"math/rand"
    	"sync"
    	"time"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. internal/bucket/object/lock/lock.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/env"
    )
    
    const (
    	logSubsys = "locking"
    )
    
    func lockLogIf(ctx context.Context, err error) {
    	logger.LogIf(ctx, logSubsys, err)
    }
    
    // Enabled indicates object locking is enabled
    const Enabled = "Enabled"
    
    // RetMode - object retention mode.
    type RetMode string
    
    const (
    	// RetGovernance - governance mode.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. .github/workflows/pre-commit.yml

    env:
      # Forks and Dependabot don't have access to secrets
      HAS_SECRETS: ${{ secrets.PRE_COMMIT != '' }}
    
    jobs:
      pre-commit:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v5
            name: Checkout PR for own repo
            if: env.HAS_SECRETS == 'true'
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. src/archive/tar/example_test.go

    		if err != nil {
    			log.Fatal(err)
    		}
    		fmt.Printf("Contents of %s:\n", hdr.Name)
    		if _, err := io.Copy(os.Stdout, tr); err != nil {
    			log.Fatal(err)
    		}
    		fmt.Println()
    	}
    
    	// Output:
    	// Contents of readme.txt:
    	// This archive contains some text files.
    	// Contents of gopher.txt:
    	// Gopher names:
    	// George
    	// Geoffrey
    	// Gonzo
    	// Contents of todo.txt:
    	// Get animal handling license.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Click Count (0)
  10. tests/prepared_stmt_test.go

    import (
    	"context"
    	"errors"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPreparedStmt(t *testing.T) {
    	tx := DB.Session(&gorm.Session{PrepareStmt: true})
    
    	if _, ok := tx.ConnPool.(*gorm.PreparedStmtDB); !ok {
    		t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top