Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for firstTime (0.1 seconds)

  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{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/AddressTest.java

            when(mockAddress.firstCalledName()).thenReturn(expectedFirstName);
    
            // When
            String firstName = mockAddress.firstCalledName();
    
            // Then
            assertEquals(expectedFirstName, firstName, "Should return first called name");
            assertNotNull(firstName, "First called name should not be null");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. 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)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. 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>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Sep 15 12:48:40 GMT 2013
    - 509 bytes
    - Click Count (0)
  6. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

        }
    
        private static String readFirstLine(final Path path) throws IOException {
            String firstLine;
            try (Stream<String> lines = Files.lines(path, StandardCharsets.UTF_8)) {
                firstLine = lines.findFirst().orElseThrow(() -> new IOException("file [" + path + "] is empty"));
            }
            return firstLine;
        }
    
        /** Find the reponame. */
        public String urlFromOrigin() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
Back to Top