Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 341 for Unit (0.44 sec)

  1. cmd/site-replication-utils.go

    	s := siteResyncMetrics{
    		resyncStatus:  make(map[string]SiteResyncStatus),
    		peerResyncMap: make(map[string]resyncState),
    	}
    	go s.save(ctx)
    	go s.init(ctx)
    	return &s
    }
    
    // init site resync metrics
    func (sm *siteResyncMetrics) init(ctx context.Context) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	// Run the site resync metrics load in a loop
    	for {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  2. src/cmd/api/boring_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    func init() {
    	fmt.Printf("SKIP with boringcrypto enabled\n")
    	os.Exit(0)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Aug 16 16:02:26 UTC 2023
    - 300 bytes
    - Viewed (0)
  3. cmd/config.go

    		return nil, err
    	}
    
    	// Add any missing entries
    	return srvCfg.Merge(), nil
    }
    
    // ConfigSys - config system.
    type ConfigSys struct{}
    
    // Init - initializes config system from config.json.
    func (sys *ConfigSys) Init(objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errInvalidArgument
    	}
    
    	return initConfig(objAPI)
    }
    
    // NewConfigSys - creates new config system object.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. docs/en/docs/js/termynal.js

                || this.container.getAttribute(`${this.pfx}-cursor`) || '▋';
            this.lineData = this.lineDataToElements(options.lineData || []);
            this.loadLines()
            if (!options.noInit) this.init()
        }
    
        loadLines() {
            // Load all the lines and create the container so that the size is fixed
            // Otherwise it would be changing and the user viewport would be constantly
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  5. internal/event/target/elasticsearch.go

    		return errors.New("username and password should be set in pairs")
    	}
    
    	return nil
    }
    
    // ElasticsearchTarget - Elasticsearch target.
    type ElasticsearchTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    	args       ElasticsearchArgs
    	client     esClient
    	store      store.Store[event.Event]
    	loggerOnce logger.LogOnce
    	quitCh     chan struct{}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/packaging/deb/scripts/conffiles

    ${packaging.env.file}
    /etc/init.d/fess
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 76 bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      }
    }
    
    TEST_F(CApiAttributesTest, EmptyList) {
      auto desc = init("list(int)");
      TF_SetAttrIntList(desc, "v", nullptr, 0);
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", 0, TF_ATTR_INT, -1);
    }
    
    TEST_F(CApiAttributesTest, Names) {
      auto desc = init("string");
      TF_SetAttrString(desc, "v", "bunny", 5);
    
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. internal/logger/target/testlogger/testlogger.go

    	"github.com/minio/pkg/v3/logger/message/log"
    )
    
    const (
    	logMessage = iota
    	errorMessage
    	fatalMessage
    )
    
    // T is the test logger.
    var T = &testLogger{}
    
    func init() {
    	logger.AddSystemTarget(context.Background(), T)
    }
    
    type testLogger struct {
    	current atomic.Pointer[testing.TB]
    	action  atomic.Int32
    }
    
    // SetLogTB will set the logger to output to tb.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils.go

    	shuffledPartsMetadata = make([]FileInfo, len(partsMetadata))
    	distribution := fi.Erasure.Distribution
    
    	init := fi.ModTime.IsZero()
    	// Shuffle slice xl metadata for expected distribution.
    	for index := range partsMetadata {
    		if disks[index] == nil {
    			continue
    		}
    		if !init && !partsMetadata[index].IsValid() {
    			// Check for parts metadata validity for only
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. cmd/bucket-metadata-sys.go

    	sys.Unlock()
    
    	return meta, true, nil
    }
    
    // Init - initializes bucket metadata system for all buckets.
    func (sys *BucketMetadataSys) Init(ctx context.Context, buckets []string, objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	sys.objAPI = objAPI
    
    	// Load bucket metadata sys.
    	sys.init(ctx, buckets)
    	return nil
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top