Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3461 - 3470 of 7,132 for String (0.1 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

            assertEquals(path, source.getPath());
        }
    
        @Test
        void testResolvedSourceWithModelId() {
            String location = "/tmp/resolved-pom.xml";
            Path path = Paths.get(location);
            String modelId = "org.apache.maven:maven-core:4.0.0";
    
            ModelSource source = Sources.resolvedSource(path, modelId);
    
            assertNotNull(source);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt

    import java.net.URI
    import java.net.http.HttpClient
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse
    
    
    private
    data class GradleServicesVersion(val version: String, val buildTime: String)
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class PreparePatchRelease : DefaultTask() {
    
        @get:Internal
        abstract val versionFile: RegularFileProperty
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java

            final File outputDir = new File(project.getBuildDir(), "/generated-test-resources/" + pluginProject.getName());
            String camelProjectName = stream(pluginProject.getName().split("-")).map(t -> StringUtils.capitalize(t))
                .collect(Collectors.joining());
            String taskName = "copy" + camelProjectName + "Metadata";
            project.getTasks().register(taskName, Copy.class, copy -> {
                copy.into(outputDir);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.2K bytes
    - Click Count (0)
  4. cmd/xl-storage-format_test.go

    	xlMeta.Stat = StatInfo{
    		Size:    int64(20),
    		ModTime: UTCNow(),
    	}
    	// Set meta data.
    	xlMeta.Meta = make(map[string]string)
    	xlMeta.Meta["testKey1"] = "val1"
    	xlMeta.Meta["testKey2"] = "val2"
    	return xlMeta
    }
    
    func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) {
    	checksum, err := hex.DecodeString(hash)
    	if err != nil {
    		panic(err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

         * @param name
         *            The name of the property to be set. Must not be {@literal null} or an empty string.
         * @param value
         *            The value of the property to be set.
         */
        public static void setProperty(final SAXParser parser, final String name, final String value) {
            assertArgumentNotNull("parser", parser);
            assertArgumentNotEmpty("name", name);
    
            try {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. README.md

    ---------
    
    This program downloads a URL and prints its contents as a string. [Full source][get_example].
    
    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    
      try (Response response = client.newCall(request).execute()) {
        return response.body().string();
      }
    }
    ```
    
    
    Post to a Server
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. internal/grid/README.md

    In the examples we use a `MSS` type, which is a `map[string]string` that is `msgp` serializable.
    
    ```go
        handler := func(request *grid.MSS) (*grid.MSS, *grid.RemoteErr) {
            fmt.Println("Got request with field", request["myfield"])
            // Do something with payload
            return NewMSSWith(map[string]string{"result": "ok"}), nil
        }
    
        // Create a typed handler.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SynchronizedQueueTest extends TestCase {
    
      protected Queue<String> create() {
        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, inner.mutex);
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          return delegate.rowMap();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        TestTable<String, Integer, Character> table = new TestTable<>();
        Table<String, Integer, Character> synced = Synchronized.table(table, table.mutex);
        populate(synced, data);
        return synced;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

          "2",
          "",
          *bodyLines,
        )
      }
    
      private fun createJournalWithHeader(
        magic: String,
        version: String,
        appVersion: String,
        valueCount: String,
        blank: String,
        vararg bodyLines: String,
      ) {
        filesystem.write(journalFile) {
          writeUtf8(
            """
            |$magic
            |$version
            |$appVersion
            |$valueCount
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
Back to Top