Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for cs (0.16 sec)

  1. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          String read(ByteSource byteSource, Charset cs) throws IOException {
            return new String(byteSource.read(), cs);
          }
        },
        USING_CHARSTREAMS_COPY {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            StringBuilder sb = new StringBuilder();
            try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) {
              CharStreams.copy(reader, sb);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          String read(ByteSource byteSource, Charset cs) throws IOException {
            return new String(byteSource.read(), cs);
          }
        },
        USING_CHARSTREAMS_COPY {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            StringBuilder sb = new StringBuilder();
            try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) {
              CharStreams.copy(reader, sb);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultMessageBuilder.java

        public MessageBuilder resetStyle() {
            return this;
        }
    
        @Override
        public MessageBuilder append(CharSequence cs) {
            buffer.append(cs);
            return this;
        }
    
        @Override
        public MessageBuilder append(CharSequence cs, int start, int end) {
            buffer.append(cs, start, end);
            return this;
        }
    
        @Override
        public MessageBuilder append(char c) {
            buffer.append(c);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. internal/hash/checksum.go

    		length := typ.RawByteLen()
    		if length == 0 || len(b) < length {
    			break
    		}
    		cs := base64.StdEncoding.EncodeToString(b[:length])
    		b = b[length:]
    		if typ.Is(ChecksumMultipart) {
    			t, n := binary.Uvarint(b)
    			if n < 0 {
    				break
    			}
    			cs = fmt.Sprintf("%s-%d", cs, t)
    			b = b[n:]
    			if part > 0 {
    				cs = ""
    			}
    			if typ.Is(ChecksumIncludesMultipart) {
    				wantLen := int(t) * length
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    func (r *Reader) AddChecksum(req *http.Request, ignoreValue bool) error {
    	cs, err := GetContentChecksum(req.Header)
    	if err != nil {
    		return ErrInvalidChecksum
    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	if cs.Type.Trailing() {
    		r.trailer = req.Trailer
    	}
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    
    // AddChecksumNoTrailer will add checksum checks as specified in
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

      @Test
      fun hashCode_usesIdentityHashCode_legacyCase() {
        val cs = CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5 // This one's javaName starts with "SSL_".
        assertThat(cs.hashCode(), cs.toString())
          .isEqualTo(System.identityHashCode(cs))
      }
    
      @Test
      fun hashCode_usesIdentityHashCode_regularCase() {
        // This one's javaName matches the identifier.
        val cs = CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMessageBuilder.java

        public MessageBuilder resetStyle() {
            return this;
        }
    
        @Override
        public MessageBuilder append(CharSequence cs) {
            buffer.append(cs);
            return this;
        }
    
        @Override
        public MessageBuilder append(CharSequence cs, int start, int end) {
            buffer.append(cs, start, end);
            return this;
        }
    
        @Override
        public MessageBuilder append(char c) {
            buffer.append(c);
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    buildNumber = null;
                }
            }
        }
    
        private static boolean isDigits(String cs) {
            if (cs == null || cs.isEmpty()) {
                return false;
            }
            final int sz = cs.length();
            for (int i = 0; i < sz; i++) {
                if (!Character.isDigit(cs.charAt(i))) {
                    return false;
                }
            }
            return true;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. callbacks.go

    	processor *processor
    }
    
    func (cs *callbacks) Create() *processor {
    	return cs.processors["create"]
    }
    
    func (cs *callbacks) Query() *processor {
    	return cs.processors["query"]
    }
    
    func (cs *callbacks) Update() *processor {
    	return cs.processors["update"]
    }
    
    func (cs *callbacks) Delete() *processor {
    	return cs.processors["delete"]
    }
    
    func (cs *callbacks) Row() *processor {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  10. operator/cmd/mesh/operator-common.go

    )
    
    // isControllerInstalled reports whether an operator deployment exists in the given namespace.
    func isControllerInstalled(cs kubernetes.Interface, operatorNamespace string, revision string) (bool, error) {
    	orn := operatorResourceName
    	if revision != "" {
    		orn += "-" + revision
    	}
    	return deploymentExists(cs, operatorNamespace, orn)
    }
    
    // renderOperatorManifest renders a manifest to install the operator with the given input arguments.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
Back to top