Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 554 for REPLACE (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

        return when {
          type == TYPE_PUSH_PROMISE && flags and FLAG_END_PUSH_PROMISE != 0 -> {
            result.replace("HEADERS", "PUSH_PROMISE") // TODO: Avoid allocation.
          }
          type == TYPE_DATA && flags and FLAG_COMPRESSED != 0 -> {
            result.replace("PRIORITY", "COMPRESSED") // TODO: Avoid allocation.
          }
          else -> result
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(10, 100);
        cache.put(2, 52);
    
        asMap.replace(2, 79);
        asMap.replace(3, 60);
    
        assertEquals(null, cache.getIfPresent(3));
        assertEquals(null, asMap.get(3));
    
        assertEquals(Integer.valueOf(79), cache.getIfPresent(2));
        assertEquals(Integer.valueOf(79), asMap.get(2));
    
        asMap.replace(10, 100, 50);
        asMap.replace(2, 52, 99);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. internal/s3select/json/record.go

    func (r *Record) WriteJSON(writer io.Writer) error {
    	return json.NewEncoder(writer).Encode(r.KVS)
    }
    
    // Replace the underlying buffer of json data.
    func (r *Record) Replace(k interface{}) error {
    	v, ok := k.(jstream.KVS)
    	if !ok {
    		return fmt.Errorf("cannot replace internal data in json record with type %T", k)
    	}
    	r.KVS = v
    	return nil
    }
    
    // NewRecord - creates new empty JSON record.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. internal/s3select/simdj/record.go

    	if err != nil {
    		return err
    	}
    	if n != len(b) {
    		return io.ErrShortWrite
    	}
    	return nil
    }
    
    // Replace the underlying buffer of json data.
    func (r *Record) Replace(k interface{}) error {
    	v, ok := k.(simdjson.Object)
    	if !ok {
    		return fmt.Errorf("cannot replace internal data in simd json record with type %T", k)
    	}
    	r.object = v
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        private String newOutput;
    
        public CharMappingItem(final long id, final String[] inputs, final String output) {
            this.id = id;
            this.inputs = inputs;
            this.output = output == null ? null : output.replace("\n", " ");
            Arrays.sort(inputs);
    
            if (id == 0) {
                // create
                newInputs = inputs;
                newOutput = output;
            }
        }
    
        public String[] getNewInputs() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/RemovalCause.java

       * result from the user invoking {@link Cache#put}, {@link LoadingCache#refresh}, {@link Map#put},
       * {@link Map#putAll}, {@link ConcurrentMap#replace(Object, Object)}, or {@link
       * ConcurrentMap#replace(Object, Object, Object)}.
       */
      REPLACED {
        @Override
        boolean wasEvicted() {
          return false;
        }
      },
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  7. scripts/deploy_docs_status.py

            if not match:
                continue
            lang = match.group(1)
            path = match.group(2)
            if path.endswith("index.md"):
                path = path.replace("index.md", "")
            else:
                path = path.replace(".md", "/")
            if lang == "en":
                link = f"{deploy_url}/{path}"
            else:
                link = f"{deploy_url}/{lang}/{path}"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

            get() = if (isKotlin) kotlinSourceFilePath else javaSourceFilePath
    
        private
        val JApiClass.javaSourceFilePath: String
            get() = fullyQualifiedName
                .replace(".", "/")
                .replace(innerClassesPartRegex, "") + ".java"
    
        private
        val innerClassesPartRegex =
            "\\$.*".toRegex()
    
        private
        val JApiClass.kotlinSourceFilePath: String
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                try {
                    if (fileString != null && !fileString.isEmpty()) {
                        fileString = interpolator.interpolate(fileString, "").replace("\\", "/");
                        File file = new File(fileString);
                        return file.exists();
                    }
    
                    // check if the file is missing, if it is then the profile will be active
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. migrator.go

    func (db *DB) AutoMigrate(dst ...interface{}) error {
    	return db.Migrator().AutoMigrate(dst...)
    }
    
    // ViewOption view option
    type ViewOption struct {
    	Replace     bool   // If true, exec `CREATE`. If false, exec `CREATE OR REPLACE`
    	CheckOption string // optional. e.g. `WITH [ CASCADED | LOCAL ] CHECK OPTION`
    	Query       *DB    // required subquery.
    }
    
    // ColumnType column type interface
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top