Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 325 for substring (0.08 sec)

  1. src/main/java/jcifs/smb1/netbios/Name.java

                          */
    
        Name() {
        }
        public Name( String name, int hexCode, String scope ) {
            if( name.length() > 15 ) {
                name = name.substring( 0, 15 );
            }
            this.name = name.toUpperCase();
            this.hexCode = hexCode;
            this.scope = scope != null && scope.length() > 0 ? scope : DEFAULT_SCOPE;
            this.srcHashCode = 0;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

        val name = truncateName(subprojects.joinToString(","))
    
        private fun truncateName(str: String) =
            // Can't exceed Linux file name limit 255 char on TeamCity
            if (str.length > 200) {
                str.substring(0, 200) + "..."
            } else {
                str
            }
    
        override fun createFunctionalTestsFor(model: CIBuildModel, stage: Stage, testCoverage: TestCoverage, bucketIndex: Int): FunctionalTest =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 09:50:29 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                for (String repo : repos) {
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
                        if (repo.substring(1).equals(originalId)) {
                            // explicitly exclude. Set result and stop processing.
                            result = false;
                            break;
                        }
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Files.java

        // put it back together
        String result = Joiner.on('/').join(path);
        if (pathname.charAt(0) == '/') {
          result = "/" + result;
        }
    
        while (result.startsWith("/../")) {
          result = result.substring(3);
        }
        if (result.equals("/..")) {
          result = "/";
        } else if ("".equals(result)) {
          result = ".";
        }
    
        return result;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                } catch( SmbException se ) {
                    fp = 0L;
                }
            }
            if( file instanceof SmbNamedPipe && file.unc.startsWith( "\\pipe\\" )) {
                file.unc = file.unc.substring( 5 );
                file.send( new TransWaitNamedPipe( "\\pipe" + file.unc ),
                                            new TransWaitNamedPipeResponse() );
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        public static boolean hasActionRole(final String role) {
            final String[] roles;
            if (role.endsWith(FessAdminAction.VIEW)) {
                roles = new String[] { role, role.substring(0, role.length() - FessAdminAction.VIEW.length()) };
            } else {
                roles = new String[] { role };
            }
            final FessLoginAssist loginAssist = ComponentUtil.getComponent(FessLoginAssist.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) {
                    String qualifier = snapshot.getTimestamp() + '-' + snapshot.getBuildNumber();
                    version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
                }
                merge(SNAPSHOT, infos, versioning.getLastUpdated(), version, repository);
            }
        }
    
        private void merge(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            String version = artifact.getVersion();
            String qualifier = formatDate(timestamp, true) + '-' + buildNumber;
            version = version.substring(0, version.length() - SNAPSHOT.length()) + qualifier;
            return addSnapshotVersion(versioning, artifact.getExtension(), timestamp, version, buildNumber);
        }
    
        private static SnapshotVersion addSnapshotVersion(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        String getFileName(final String resourceName) {
            final String name = resourceName.replaceAll("/+$", "");
            final int pos = name.lastIndexOf('/');
            if (pos >= 0) {
                return name.substring(pos + 1);
            }
            return name;
        }
    
        private void executeCommand(final File inputFile, final File outputFile) {
    
            if (StringUtil.isBlank(command)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

          }
          return result
        }
    
        private fun secondaryName(javaName: String): String {
          return when {
            javaName.startsWith("TLS_") -> "SSL_" + javaName.substring(4)
            javaName.startsWith("SSL_") -> "TLS_" + javaName.substring(4)
            else -> javaName
          }
        }
    
        /**
         * @param javaName the name used by Java APIs for this cipher suite. Different than the IANA
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 39.9K bytes
    - Viewed (0)
Back to top