Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 6,150 for string (0.12 sec)

  1. samples/guide/src/main/java/okhttp3/guide/GetExample.java

    public class GetExample {
      final 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();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

        assertThat(response.body.string()).isEqualTo("ABC.2") // not cached
        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(2)
        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      private fun corruptMetadata(corruptor: (String) -> String) {
        val metadataFile =
          fileSystem.allPaths.find {
            it.name.endsWith(".0")
          }
    
        if (metadataFile != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/dict/ProtwordsTests.java

        private static final String NAME_PREFIX = "protwordsTest_";
        private static final String API_PATH = "/api/admin/dict/protwords";
        private static final String LIST_ENDPOINT_SUFFIX = "settings";
        private static final String ITEM_ENDPOINT_SUFFIX = "setting";
        private static final String DICT_TYPE = "protwords";
    
        private static final String KEY_PROPERTY = "input";
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            container.setLoggerManager(createLoggerManager());
            R invokerRequest = context.invokerRequest;
            Function<String, String> extensionSource = expression -> {
                String value = invokerRequest.userProperties().get(expression);
                if (value == null) {
                    value = invokerRequest.systemProperties().get(expression);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt

      // TODO: search for toLowerCase and consider moving logic here.
      constructor(name: String, value: String) : this(name.encodeUtf8(), value.encodeUtf8())
    
      constructor(name: ByteString, value: String) : this(name, value.encodeUtf8())
    
      override fun toString(): String = "${name.utf8()}: ${value.utf8()}"
    
      companion object {
        // Special header names defined in HTTP/2 spec.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. cmd/batch-handlers_test.go

    	type args struct {
    		yamlStr string
    	}
    	type PrefixTemp struct {
    		Prefix BatchJobPrefix `yaml:"prefix"`
    	}
    	tests := []struct {
    		name    string
    		b       PrefixTemp
    		args    args
    		want    []string
    		wantErr bool
    	}{
    		{
    			name: "test1",
    			b:    PrefixTemp{},
    			args: args{
    				yamlStr: `
    prefix: "foo"
    `,
    			},
    			want:    []string{"foo"},
    			wantErr: false,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. tests/test_additional_responses_custom_model_in_callback.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                }
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_header_params/test_tutorial003_py310.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                }
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy

        private final Map<String, ClassDoc> extensionClasses = [:]
        private final String pluginId
        final ClassDoc targetClass
        final List<PropertyDoc> extraProperties = []
        final List<BlockDoc> extraBlocks = []
    
        ClassExtensionDoc(String pluginId, ClassDoc targetClass) {
            this.pluginId = pluginId
            this.targetClass = targetClass
        }
    
        String getPluginId() {
            return pluginId
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/PingResponse.java

    public class PingResponse {
        private static final String CLUSTER_NAME = "cluster_name";
        private static final String STATUS = "status";
        private static final String TIMED_OUT = "timed_out";
        private static final String NUMBER_OF_NODES = "number_of_nodes";
        private static final String NUMBER_OF_DATA_NODES = "number_of_data_nodes";
        private static final String NUMBER_OF_PENDING_TASKS = "number_of_pending_tasks";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (2)
Back to top