Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for firstTime (0.11 sec)

  1. internal/disk/stat_linux.go

    	"strconv"
    	"strings"
    	"syscall"
    
    	"github.com/prometheus/procfs/blockdevice"
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, firstTime bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. cmd/iam-object-store.go

    	return policyDocs, err
    }
    
    // Assumes cache is locked by caller.
    func (iamOS *IAMObjectStore) loadAllFromObjStore(ctx context.Context, cache *iamCache, firstTime bool) error {
    	bootstrapTraceMsgFirstTime := func(s string) {
    		if firstTime {
    			bootstrapTraceMsg(s)
    		}
    	}
    
    	if iamOS.objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	bootstrapTraceMsgFirstTime("loading all IAM items")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    }
    
    // LoadIAMCache reads all IAM items and populates a new iamCache object and
    // replaces the in-memory cache object.
    func (store *IAMStoreSys) LoadIAMCache(ctx context.Context, firstTime bool) error {
    	bootstrapTraceMsgFirstTime := func(s string) {
    		if firstTime {
    			bootstrapTraceMsg(s)
    		}
    	}
    	bootstrapTraceMsgFirstTime("loading IAM data")
    
    	newCache := newIamCache()
    
    	loadedAt := time.Now()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  4. cmd/iam.go

    	defer sys.Unlock()
    	return sys.store != nil
    }
    
    // Load - loads all credentials, policies and policy mappings.
    func (sys *IAMSys) Load(ctx context.Context, firstTime bool) error {
    	loadStartTime := time.Now()
    	err := sys.store.LoadIAMCache(ctx, firstTime)
    	if err != nil {
    		atomic.AddUint64(&sys.TotalRefreshFailures, 1)
    		return err
    	}
    	loadDuration := time.Since(loadStartTime)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  5. cmd/api-utils_test.go

    		{"p/", "url", "p/"},
    		{"p/", "url", "p/"},
    		{"~user", "url", "%7Euser"},
    		{"*user", "url", "*user"},
    		{"user+password", "url", "user%2Bpassword"},
    		{"_user", "url", "_user"},
    		{"firstname.lastname", "url", "firstname.lastname"},
    	}
    	for i, testCase := range testCases {
    		t.Run(fmt.Sprintf("Test%d", i+1), func(t *testing.T) {
    			outputText := s3EncodeName(testCase.inputText, testCase.encodingType)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. src/etc/header-definition.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <additionalHeaders>
        <javadoc_style>
            <firstLine>/*</firstLine>
            <beforeEachLine> * </beforeEachLine>
            <endLine> */</endLine>
            <!--skipLine></skipLine-->
            <firstLineDetectionPattern>(\s|\t)*/\*.*$</firstLineDetectionPattern>
            <lastLineDetectionPattern>.*\*/(\s|\t)*$</lastLineDetectionPattern>
            <allowBlankLines>false</allowBlankLines>
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sun Sep 15 12:48:40 UTC 2013
    - 509 bytes
    - Viewed (0)
  7. buildscripts/verify-healing.sh

    	pid3=$!
    	disown $pid3
    
    	export MC_HOST_myminio="http://minio:minio123@127.0.0.1:$((start_port + 1))"
    	timeout 15m /tmp/mc ready myminio || fail
    
    	[ ${first_time} -eq 0 ] && upload_objects
    	[ ${first_time} -ne 0 ] && sleep 120
    
    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "minio server 1 is not running" && fail
    	fi
    
    	if ! ps -p $pid2 1>&2 >/dev/null; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          }
    
          client.newCall(request)
            .execute()
            .use {
              val firstLine =
                it.body.string()
                  .lines()
                  .first()
              if (this.launch != CommandLine) {
                println("${it.code} ${it.request.url.host} $firstLine")
              }
              Unit
            }
        } catch (e: IOException) {
          System.err.println(e)
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
    
        StackTraceException e = new StackTraceException("my message");
    
        String firstLine = quote(e.getClass().getName() + ": " + e.getMessage());
        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
    
        StackTraceException e = new StackTraceException("my message");
    
        String firstLine = quote(e.getClass().getName() + ": " + e.getMessage());
        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top