Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 5,758 for AsString (0.06 sec)

  1. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

      @Test
      fun stringEmpty() {
        val body = body("")
        assertThat(body.string()).isEqualTo("")
      }
    
      @Test
      fun stringLooksLikeBomButTooShort() {
        val body = body("000048")
        assertThat(body.string()).isEqualTo("\u0000\u0000H")
      }
    
      @Test
      fun stringDefaultsToUtf8() {
        val body = body("68656c6c6f")
        assertThat(body.string()).isEqualTo("hello")
      }
    
      @Test
      fun stringExplicitCharset() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        "$host:$port"
      } else {
        host
      }
    }
    
    /** Returns a [Locale.US] formatted [String]. */
    internal fun format(
      format: String,
      vararg args: Any,
    ): String {
      return String.format(Locale.US, format, *args)
    }
    
    /**
     * will also strip BOM from the source
     */
    @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

            (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor(
                param(Params.sourceRoots),
                param(Params.sourceCompilationClasspath)
            )
        }
    
        @Suppress("unchecked_cast")
        private
        fun param(name: String): List<File> =
            (params[name] as? Set<String>)?.map(::File) ?: emptyList()
    }
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        private var notAfter = -1L
        private var commonName: String? = null
        private var organizationalUnit: String? = null
        private val altNames = mutableListOf<String>()
        private var serialNumber: BigInteger? = null
        private var keyPair: KeyPair? = null
        private var signedBy: HeldCertificate? = null
        private var maxIntermediateCas = -1
        private var keyAlgorithm: String? = null
        private var keySize: Int = 0
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            final List<String> sessionIdList = new ArrayList<>();
            dataCrawlingThreadList.clear();
            final List<String> dataCrawlingThreadStatusList = new ArrayList<>();
            for (final DataConfig dataConfig : configList) {
                final DataStoreParams initParamMap = new DataStoreParams();
                final String sid = ComponentUtil.getCrawlingConfigHelper().store(sessionId, dataConfig);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. scan.go

    	switch dest := db.Statement.Dest.(type) {
    	case map[string]interface{}, *map[string]interface{}:
    		if initialized || rows.Next() {
    			columnTypes, _ := rows.ColumnTypes()
    			prepareValues(values, db, columnTypes, columns)
    
    			db.RowsAffected++
    			db.AddError(rows.Scan(values...))
    
    			mapValue, ok := dest.(map[string]interface{})
    			if !ok {
    				if v, ok := dest.(*map[string]interface{}); ok {
    					if *v == nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. internal/bucket/replication/replication.go

    // can be triggered on the resultant object.
    type ObjectOpts struct {
    	Name           string
    	UserTags       string
    	VersionID      string
    	DeleteMarker   bool
    	SSEC           bool
    	OpType         Type
    	Replica        bool
    	ExistingObject bool
    	TargetArn      string
    }
    
    // HasExistingObjectReplication returns true if any of the rule returns 'ExistingObjects' replication.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

        private final Map<ApiChange, String> acceptedApiChanges
        private final File mainApiChangesJsonFile
        private final File projectRootDir
    
        AbstractGradleViolationRule(Map<String, Object> params) {
            Map<String, String> acceptedApiChanges = (Map<String, String>)params.get("acceptedApiChanges")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. docs/debugging/xl-meta/main.go

    		}
    		// file / version / file
    		filemap := make(map[string]map[string]string)
    		foundData := make(map[string][]byte)
    		partDataToVerID := make(map[string][2]string)
    		var baseName string
    		// versionID ->
    		combineFiles := make(map[string][]string)
    		decode := func(r io.Reader, file string) ([]byte, error) {
    			file = strings.ReplaceAll(file, ":", "_")
    			b, err := io.ReadAll(r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                    retVal = tokBuf.toString();
                }
            }
    
            return optional ? "?" + retVal : retVal;
        }
    
        public static String substVars(
                String value, String name, Map<String, String> props, Function<String, String> callback) {
            return DefaultInterpolator.substVars(value, name, null, props, callback, null, false);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top