Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,568 for emplace (0.05 seconds)

  1. 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 any) 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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. 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 any) 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
    }
    
    // NewRecord - creates new empty JSON record.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. impl/maven-cli/pom.xml

              <models>
                <model>../../api/maven-api-cli/src/main/mdo/core-extensions.mdo</model>
              </models>
              <templates>
                <template>reader-stax.vm</template>
                <template>writer-stax.vm</template>
              </templates>
              <params>
                <param>packageModelV4=org.apache.maven.api.cli.extensions</param>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            if (this is Class<*> && this.isArray) {
                return this.componentType.toCodeTypeString() + "[]"
            }
            return toString()
                .replace("class ", "")
                .replace("interface ", "")
        }
    
        companion object {
            private
            const val RESOURCE = "/default-imports.txt"
    
            private
            const val PLUGINS_BLOCK_SIGNATURE =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  5. schema/naming.go

    	if name == "" {
    		return ""
    	}
    
    	if ns.NameReplacer != nil {
    		tmpName := ns.NameReplacer.Replace(name)
    
    		if tmpName == "" {
    			return name
    		}
    
    		name = tmpName
    	}
    
    	if ns.NoLowerCase {
    		return name
    	}
    
    	var (
    		value                          = commonInitialismsReplacer.Replace(name)
    		buf                            strings.Builder
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 03:46:59 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  6. internal/s3select/csv/record.go

    }
    
    // Raw - returns the underlying data with format info.
    func (r *Record) Raw() (sql.SelectObjectFormat, any) {
    	return sql.SelectFmtCSV, r
    }
    
    // Replace - is not supported for CSV
    func (r *Record) Replace(_ any) error {
    	return errors.New("Replace is not supported for CSV")
    }
    
    // NewRecord - creates new CSV record.
    func NewRecord() *Record {
    	return &Record{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. 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
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should replace entry in cache map")
            void testReplaceCacheWithMap() {
                String key = "test-key";
    
                // Setup concrete implementation
                concreteImplementation.setKey(key);
                concreteImplementation.setCacheMap(cacheMap);
    
                // Execute replace
                concreteImplementation.replaceCache();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  9. android/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);
    
        assertThat(cache.getIfPresent(3)).isNull();
        assertThat(asMap.get(3)).isNull();
    
        assertThat(cache.getIfPresent(2)).isEqualTo(79);
        assertThat(asMap.get(2)).isEqualTo(79);
    
        asMap.replace(10, 100, 50);
        asMap.replace(2, 52, 99);
    
        assertThat(cache.getIfPresent(10)).isEqualTo(50);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero);
        // since the putIfAbsent returned a zero, we'll try to replace...
        when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false);
        // ...and then putIfAbsent. Simulate failure on both
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 22:42:14 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top