Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3331 - 3340 of 7,132 for String (0.12 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultPathTranslator implements PathTranslator {
    
        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            String result = path;
    
            if (path != null && basedir != null) {
                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcGitExtension.java

            return bwcVersion;
        }
    
        public void setBwcVersion(Provider<Version> bwcVersion) {
            this.bwcVersion = bwcVersion;
        }
    
        public Provider<String> getBwcBranch() {
            return bwcBranch;
        }
    
        public void setBwcBranch(Provider<String> bwcBranch) {
            this.bwcBranch = bwcBranch;
        }
    
        public Property<File> getCheckoutDir() {
            return checkoutDir;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersion.kt

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    import org.gradle.util.GradleVersion
    
    
    data class ReleasedVersion(val version: String, val buildTime: String) {
        fun gradleVersion() = GradleVersion.version(version)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 826 bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

        @Override
        public Model read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            Model model = read(new FileInputStream(input), options);
    
            model.setPomFile(input);
    
            return model;
        }
    
        @Override
        public Model read(Reader input, Map<String, ?> options) throws IOException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      private final class Target {
        private final Collection<E> toRetain;
        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
          this.toRetain = toRetain;
          this.description = description;
        }
    
        @Override
        public String toString() {
          return description;
        }
      }
    
      private Target empty;
      private Target disjoint;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("toString should return formatted string with details")
        void testToString() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
            // Set path field (inherited from parent)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                // setError(int, String)
                Method setErrorStringMethod = WebApiUtil.class.getMethod("setError", int.class, String.class);
                assertTrue("setError(int, String) should be static", java.lang.reflect.Modifier.isStatic(setErrorStringMethod.getModifiers()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

    @Deprecated(since = "4.0.0")
    public abstract class AbstractStringBasedModelInterpolator implements ModelInterpolator {
        private static final List<String> PROJECT_PREFIXES = Arrays.asList("pom.", "project.");
    
        private static final Collection<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
            Collection<String> translatedPrefixes = new HashSet<>();
    
            // MNG-1927, MNG-2124, MNG-3355:
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. tests/error_translator_test.go

    	}
    }
    
    func TestSupportedDialectorWithErrDuplicatedKey(t *testing.T) {
    	type City struct {
    		gorm.Model
    		Name string `gorm:"unique"`
    	}
    
    	db, err := OpenTestConnection(&gorm.Config{TranslateError: true})
    	if err != nil {
    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    
    	dialectors := map[string]bool{"sqlite": true, "postgres": true, "gaussdb": true, "mysql": true, "sqlserver": true}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

                System.out.println(i);
                Thread.sleep(10);
                sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
              }
              sink.close();
            } catch (IOException | InterruptedException e) {
              e.printStackTrace();
            }
          }
    
          private String factor(int n) {
            for (int i = 2; i < n; i++) {
              int x = n / i;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Click Count (0)
Back to Top