Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 97 for Leading (0.13 seconds)

  1. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/SplitterTest.java

        assertThat(letters).containsExactly("a", "b", "c", "").inOrder();
      }
    
      public void testCharacterSplitWithLeadingDelimiter() {
        String leading = ",a,b,c";
        Iterable<String> letters = COMMA_SPLITTER.split(leading);
        assertThat(letters).containsExactly("", "a", "b", "c").inOrder();
      }
    
      public void testCharacterSplitWithMultipleLetters() {
        Iterable<String> testCharacteringMotto =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  3. src/bytes/bytes.go

    	} else {
    		i++
    	}
    	return s[0:i]
    }
    
    // TrimFunc returns a subslice of s by slicing off all leading and trailing
    // UTF-8-encoded code points c that satisfy f(c).
    func TrimFunc(s []byte, f func(r rune) bool) []byte {
    	return TrimRightFunc(TrimLeftFunc(s, f), f)
    }
    
    // TrimPrefix returns s without the provided leading prefix string.
    // If s doesn't start with prefix, s is returned unchanged.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    String errMsg = "Missing Javadoc file for " + link + " in " + sourceFile.getName();
                    if (link.startsWith("javadoc")) {
                        errMsg += " (You may need to remove the leading `javadoc` path component)";
                    }
                    errorsForFile.add(new Error(lineNumber, line, errMsg));
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. gradlew

    # Attempt to set APP_HOME
    
    # Resolve links: $0 may be a link
    app_path=$0
    
    # Need this for daisy-chained symlinks.
    while
        APP_HOME=${app_path%"${app_path##*/}"}  # leaves a trailing /; empty if no leading path
        [ -h "$app_path" ]
    do
        ls=$( ls -ld "$app_path" )
        link=${ls#*' -> '}
        case $link in             #(
          /*)   app_path=$link ;; #(
          *)    app_path=$APP_HOME$link ;;
        esac
    done
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 08:59:10 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            String testSuffix = "test suffix";
            ExecJob result = execJob.logSuffix(testSuffix);
            assertEquals("test_suffix", execJob.logSuffix);
            assertSame(execJob, result);
    
            // Test with leading/trailing spaces
            result = execJob.logSuffix("  another suffix  ");
            assertEquals("another_suffix", execJob.logSuffix);
    
            // Test with multiple spaces
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            @Override
            public String getRealPath(String path) {
                if (path == null) {
                    return tempDir.getAbsolutePath();
                }
                // Remove leading slash if present
                if (path.startsWith("/")) {
                    path = path.substring(1);
                }
                return new File(tempDir, path.replace("/", File.separator)).getAbsolutePath();
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/arch/arch.go

    	"cmd/internal/obj/riscv"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/obj/wasm"
    	"cmd/internal/obj/x86"
    	"fmt"
    	"strings"
    )
    
    // Pseudo-registers whose names are the constant name without the leading R.
    const (
    	RFP = -(iota + 1)
    	RSB
    	RSP
    	RPC
    )
    
    // Arch wraps the link architecture object with more architecture-specific information.
    type Arch struct {
    	*obj.LinkArch
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 22K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Floats.java

       * <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link
       * Float#valueOf(String)}, except that leading and trailing whitespace is not permitted.
       *
       * <p>This implementation is likely to be faster than {@code Float.parseFloat} if many failures
       * are expected.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top