Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for strspn (1.09 sec)

  1. cmd/server-startup-msg.go

    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/logger"
    )
    
    // generates format string depending on the string length and padding.
    func getFormatStr(strLen int, padding int) string {
    	formatStr := fmt.Sprintf("%ds", strLen+padding)
    	return "%" + formatStr
    }
    
    // Prints the formatted startup message.
    func printStartupMessage(apiEndpoints []string, err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            final int rlast = result.length - 1;
            int i = 0, b = 0;
            final int len = path.length();
            int strip = 0;
    
            do {
                if (ri == rlast) {
                    result[rlast] = path.substring(b);
                    result[rlast] = path.substring(b);
                    return strip;
                }
                if (i == len || path.charAt(i) == '\\') {
                    result[ri] = path.substring(b, i);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. callbacks.go

    	c.replace = true
    	c.processor.callbacks = append(c.processor.callbacks, c)
    	return c.processor.compile()
    }
    
    // getRIndex get right index from string slice
    func getRIndex(strs []string, str string) int {
    	for i := len(strs) - 1; i >= 0; i-- {
    		if strs[i] == str {
    			return i
    		}
    	}
    	return -1
    }
    
    func sortCallbacks(cs []*callback) (fns []func(*DB), err error) {
    	var (
    		names, sorted []string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

         *
         * @param domain the domain name to append
         */
        void fixupDomain(String domain);
    
        /**
         * Reduces path consumed by the given value
         *
         * @param i the number of characters to strip from path consumed
         */
        void stripPathConsumed(int i);
    
        @Override
        DfsReferralDataInternal next();
    
        /**
         * Set the UNC path link for this referral
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Encdec.java

         */
        public static int enc_utf8(final String str, final byte[] dst, int di, final int dlim) {
            final int start = di;
            int ch;
            final int strlen = str.length();
    
            for (int i = 0; di < dlim && i < strlen; i++) {
                ch = str.charAt(i);
                if (ch >= 0x0001 && ch <= 0x007F) {
                    dst[di] = (byte) ch;
                    di++;
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        private String server;
    
        private boolean resolveDfs;
    
        /**
         * Constructs an SMB2 create request
         * @param config the client configuration
         * @param name uncPath to open, strips a leading \
         */
        public Smb2CreateRequest(final Configuration config, final String name) {
            super(config, SMB2_CREATE);
            setPath(name);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. .github/workflows/maven.yml

                mv "maven-local/$MAVEN_DIR"/* maven-local/
                rm -r "maven-local/$MAVEN_DIR"
              else
                tar xzf maven-dist/apache-maven-*-bin.tar.gz -C maven-local --strip-components 1
              fi
              echo "MAVEN_HOME=$PWD/maven-local" >> $GITHUB_ENV
              echo "$PWD/maven-local/bin" >> $GITHUB_PATH
    
          - name: Build with downloaded Maven
            shell: bash
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Aug 25 07:07:00 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. cmd/utils.go

    func lcpSuffix(strs []string) string {
    	return lcp(strs, false)
    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    		return ""
    	}
    	xfix := strs[0]
    	// short-circuit single-element list
    	if len(strs) == 1 {
    		return xfix
    	}
    	// compare first to rest
    	for _, str := range strs[1:] {
    		xfixl := len(xfix)
    		strl := len(str)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  9. docs/erasure/README.md

    The drives should all be of approximately the same size.
    
    ## Get Started with MinIO in Erasure Code
    
    ### 1. Prerequisites
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @Test
            @DisplayName("Should strip path consumed correctly")
            void testStripPathConsumed() {
                // Set initial pathConsumed using fromReferral
                setupReferralDataWithPathConsumed(10);
    
                referralData.stripPathConsumed(5);
                assertEquals(5, referralData.getPathConsumed());
            }
    
            @Test
            @DisplayName("Should strip exact path consumed")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top