Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 182 for endswith (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

                  // Value is "double-quoted". That's valid and our regex group already strips the quotes.
                  parameter.groups[3]!!.value
                }
                token.startsWith('\'') && token.endsWith('\'') && token.length > 2 -> {
                  // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes.
                  token.substring(1, token.length - 1)
                }
                else -> token
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // Then
            assertTrue(result.startsWith("SmbComClose["));
            assertTrue(result.contains("fid=" + fid));
            assertTrue(result.contains("lastWriteTime=" + lastWriteTime));
            assertTrue(result.endsWith("]"));
        }
    
        /**
         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#getResponse()}.
         */
        @Test
        public void testGetResponse() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            }
    
            this.unc = dunc;
            if (dr.getShare() != null && !dr.getShare().isEmpty()) {
                this.share = dr.getShare();
            }
            if (reqPath != null && reqPath.endsWith("\\") && !dunc.endsWith("\\")) {
                dunc += "\\";
            }
            return dunc;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#toString()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                    assertTrue("Field value should start with {labels.: " + field.getName() + " = " + value, value.startsWith("{labels."));
                    assertTrue("Field value should end with }: " + field.getName() + " = " + value, value.endsWith("}"));
                }
            }
        }
    
        /**
         * Test that all label constants have unique values
         */
        public void test_labelConstantsUniqueness() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            this.artifactId = artifactId;
        }
    
        @Override
        public boolean isSnapshot() {
            return getBaseVersion() != null
                    && (getBaseVersion().endsWith(SNAPSHOT_VERSION)
                            || getBaseVersion().equals(LATEST_VERSION));
        }
    
        @Override
        public void setResolved(boolean resolved) {
            this.resolved = resolved;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertTrue(actual.contains("searchCount=5"));
            assertTrue(actual.contains("isEndOfSearch=true"));
            assertTrue(actual.contains("lastName=file5.txt"));
            assertTrue(actual.endsWith("]"));
        }
    
        @Test
        void testToString_FindNext2() {
            response.subCommand = SmbComTransaction.TRANS2_FIND_NEXT2;
            String actual = response.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            StringBuilder buf = new StringBuilder();
    
            monitorTarget.appendTimestamp(buf);
            String result = buf.toString();
            assertTrue(result.startsWith("\"timestamp\":\""));
            assertTrue(result.endsWith("\""));
            // Verify a timestamp was properly formatted
            assertNotNull(result);
            assertTrue(result.length() > "\"timestamp\":\"\"".length());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceLocatorTest.java

            public String getName() {
                if (path == null || path.isEmpty() || path.equals("/")) {
                    return host + "/"; // mimic the JVM behaviour for root or server
                }
                if (path.endsWith("/")) {
                    return path.substring(0, path.length()); // keep trailing slash
                }
                String[] parts = path.split("/");
                return parts[parts.length - 1];
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            String str1 = fileInfo.toString();
            assertNotNull(str1);
            assertTrue(str1.startsWith("EndOfFileInformation["));
            assertTrue(str1.contains("endOfFile="));
            assertTrue(str1.endsWith("]"));
    
            // Test with specific value
            FileEndOfFileInformation info = new FileEndOfFileInformation(12345L);
            String str2 = info.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
          assertThat(urls.get(2).getPath()).endsWith("/relative/path/to/class/root");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top