Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 182 for endswith (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertTrue(result.contains("oplockLevel=" + oplockLevel));
                assertTrue(result.contains("fileId=" + Hexdump.toHexString(fileId)));
                assertTrue(result.endsWith("]"));
            }
    
            @Test
            @DisplayName("Should handle null fileId in toString")
            void testToStringWithNullFileId() throws Exception {
                // Set oplockLevel but leave fileId as null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      if (":" in host) {
        // If the input is encased in square braces "[...]", drop 'em.
        val inetAddressByteArray =
          (
            if (host.startsWith("[") && host.endsWith("]")) {
              decodeIpv6(host, 1, host.length - 1)
            } else {
              decodeIpv6(host, 0, host.length)
            }
          ) ?: return null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotNull("path", path);
    
            if (extension == null) {
                return path;
            }
            final String ext = "." + extension;
            if (path.endsWith(ext)) {
                return path;
            }
            return path.replace('.', '/') + ext;
        }
    
        /**
         * Returns the resource path.
         *
         * @param clazz
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDTest.java

                String s = sid.toString();
                assertTrue(s.startsWith("S-1-0x010203040506"));
                assertTrue(s.endsWith("-7-8"));
            }
    
            @Test
            @DisplayName("equals and hashCode for equal and non-equal SIDs")
            void testEqualsAndHashCode() throws Exception {
                SID a1 = new SID("S-1-5-21-1-2-3-4");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileTest.java

                assertEquals(0, files.length);
            }
    
            @Test
            void testListFilesWithFilter() throws SmbException {
                // Arrange
                SmbFilenameFilter filter = (dir, name) -> name.endsWith(".txt");
                doReturn(new SmbFile[0]).when(smbFile).listFiles((SmbFilenameFilter) filter);
    
                // Act
                SmbFile[] files = smbFile.listFiles(filter);
    
                // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        abstract Optional<String> chop(String str);
    
        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
                return Optional.of(str.substring(0, str.length() - suffix.length()));
              } else {
                return Optional.absent();
              }
            }
          };
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            if (fileName == null) {
                return false;
            }
            final String lFileName = fileName.toLowerCase(Locale.ENGLISH);
            for (final String ext : exts) {
                if (lFileName.endsWith("." + ext)) {
                    return true;
                }
            }
            return false;
        }
    
        /**
         * Download a design file.
         * @param form The file access form.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            String defaultString = searchRenderData.toString();
            assertNotNull(defaultString);
            assertTrue(defaultString.startsWith("SearchRenderData ["));
            assertTrue(defaultString.endsWith("]"));
            assertTrue(defaultString.contains("documentItems=null"));
            assertTrue(defaultString.contains("facetResponse=null"));
            assertTrue(defaultString.contains("pageSize=0"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                    if (url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("file:") || url.startsWith("ftp:")) {
                        if (url.endsWith("/")) {
                            // directory
                            return true;
                        }
                        final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        void toString_shouldReturnFormattedString() {
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("NodeStatusResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        void readRDataWireFormat_shouldHandleStatsAfterMac() throws Exception {
            // Test with statistics after MAC address
            byte[] src = new byte[50];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top