Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 6,164 for aString (0.06 sec)

  1. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

      public void testSimple() throws Exception {
        String testString = "abcdefgh";
        CharSource source = newCharSource(testString);
        Reader joinedReader = CharSource.concat(source, source).openStream();
    
        String expectedString = testString + testString;
        assertEquals(expectedString, CharStreams.toString(joinedReader));
      }
    
      private static CharSource newCharSource(final String text) {
        return new CharSource() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MultiReaderTest.java

      public void testSimple() throws Exception {
        String testString = "abcdefgh";
        CharSource source = newCharSource(testString);
        Reader joinedReader = CharSource.concat(source, source).openStream();
    
        String expectedString = testString + testString;
        assertEquals(expectedString, CharStreams.toString(joinedReader));
      }
    
      private static CharSource newCharSource(final String text) {
        return new CharSource() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  3. cmd/etcd.go

    	}
    }
    
    func saveKeyEtcdWithTTL(ctx context.Context, client *etcd.Client, key string, data []byte, ttl int64) error {
    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	lease, err := client.Grant(timeoutCtx, ttl)
    	if err != nil {
    		return etcdErrToErr(err, client.Endpoints())
    	}
    	_, err = client.Put(timeoutCtx, key, string(data), etcd.WithLease(lease.ID))
    	etcdLogIf(ctx, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py

                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                    "HTTPValidationError": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_param_models/test_tutorial002.py

                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                    "type": "array",
                                    "title": "Location",
                                },
                                "msg": {"type": "string", "title": "Message"},
                                "type": {"type": "string", "title": "Error Type"},
                            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. internal/s3select/jstream/README.md

    depth	start	end	type   | value
    2	018	023	string | "RGB"
    3	041	046	string | "red"
    3	048	055	string | "green"
    3	057	063	string | "blue"
    2	039	065	array  | ["red","green","blue"]
    1	004	069	object | {"colors":["red","green","blue"],"desc":"RGB"}
    2	087	093	string | "CMYK"
    3	111	117	string | "cyan"
    3	119	128	string | "magenta"
    3	130	138	string | "yellow"
    3	140	147	string | "black"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

    @Singleton
    public class DefaultMirrorSelector implements MirrorSelector {
    
        private static final String WILDCARD = "*";
    
        private static final String EXTERNAL_WILDCARD = "external:*";
    
        private static final String EXTERNAL_HTTP_WILDCARD = "external:http:*";
    
        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            String repoId = repository.getId();
    
            if (repoId != null && mirrors != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        private final Artifact artifact;
    
        private final String groupId;
    
        private final String artifactId;
    
        private final String classifier;
    
        private final String extension;
    
        private final String version;
    
        private final String message;
    
        public RelocatedArtifact(
                Artifact artifact,
                String groupId,
                String artifactId,
                String classifier,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/OsddHelper.java

     *
     * @author shinsuke
     *
     */
    public class OsddHelper {
        private static final Logger logger = LogManager.getLogger(OsddHelper.class);
    
        protected String osddPath;
    
        protected String encoding = Constants.UTF_8;
    
        protected String contentType = "text/xml"; // "application/opensearchdescription+xml"
    
        protected File osddFile;
    
        @PostConstruct
        public void init() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * 
     */
    public class SmbComSessionSetupAndXResponse extends AndXServerMessageBlock {
    
        private String nativeOs = "";
        private String nativeLanMan = "";
        private String primaryDomain = "";
    
        private boolean isLoggedInAsGuest;
        private byte[] blob = null;
    
    
        /**
         * 
         * @param config
         * @param andx
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
Back to top