Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 119 for toLowerCase (0.15 sec)

  1. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            String processed = result.map(s -> s.toLowerCase()).orElse("default");
    
            assertEquals("hello world", processed);
    
            // Test with null value
            String nullValue = null;
            OptionalEntity<String> emptyResult = OptionalUtil.ofNullable(nullValue);
    
            String processedEmpty = emptyResult.map(s -> s.toLowerCase()).orElse("default");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

        }
        List<String> parts = new ArrayList<>();
        for (String part : Splitter.on('_').split(constantName)) {
          if (!uppercaseAcronyms.contains(part)) {
            part = part.charAt(0) + Ascii.toLowerCase(part.substring(1));
          }
          parts.add(part);
        }
        return Joiner.on('-').join(parts);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/ACETest.java

            String result = ace.toString();
    
            assertTrue(result.startsWith("Allow "));
            // Hexdump.toHexString produces uppercase hex
            assertTrue(result.toLowerCase().contains("0x001200a9"));
            // ACE.toString() outputs "Direct    " with 4 spaces
            assertTrue(result.contains("Direct"));
            assertTrue(result.contains("This folder only"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SambaHelper.java

         */
        protected String createSearchRole(final int type, final String name) {
            if (fessConfig.isLdapLowercasePermissionName()) {
                return type + fessConfig.getCanonicalLdapName(name).toLowerCase(Locale.ROOT);
            }
            return type + fessConfig.getCanonicalLdapName(name);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
                if (lep.startsWith("\\pipe\\")) {
                    final String iface = (String) INTERFACES.get(lep.substring(6));
                    if (iface != null) {
                        int c, p;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            TestSpnegoToken t = new TestSpnegoToken();
            IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null");
            assertTrue(ex.getMessage().toLowerCase().contains("null"));
        }
    
        @Test
        @DisplayName("toByteArray returns empty when no mechanismToken")
        void toByteArrayWhenNull() {
            TestSpnegoToken t = new TestSpnegoToken();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

         *
         * @param value the value to convert
         * @return the converted value
         */
        protected String toLowercaseWildcard(final String value) {
            if (lowercaseWildcard) {
                return value.toLowerCase(Locale.ROOT);
            }
            return value;
        }
    
        /**
         * Sets the lowercase wildcard flag.
         *
         * @param lowercaseWildcard the lowercase wildcard flag
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MimeMap.java

            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
            final byte[] ext = extension.toLowerCase().getBytes("ASCII");
    
            state = ST_START;
            t = x = i = 0;
            for (off = 0; off < inLen; off++) {
                ch = in[off];
                switch (state) {
                case ST_START:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        TestSuite suite = new TestSuite(name);
        for (Feature<?> collectionSize : sizesToTest) {
          String oneSizeName =
              Platform.format(
                  "%s [collection size: %s]", name, collectionSize.toString().toLowerCase());
          OneSizeGenerator<T, E> oneSizeGenerator =
              new OneSizeGenerator<>(getSubjectGenerator(), (CollectionSize) collectionSize);
          Set<Feature<?>> oneSizeFeatures = copyToSet(features);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcBinding.java

        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                this.endpoint = val.toString();
                final String lep = this.endpoint.toLowerCase(Locale.ENGLISH);
                if (lep.startsWith("\\pipe\\")) {
                    final String iface = INTERFACES.get(lep.substring(6));
                    if (iface != null) {
                        int c, p;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top