Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3031 - 3040 of 6,076 for new1 (0.02 seconds)

  1. src/arena/arena.go

    	runtime_arena_arena_Free(a.a)
    	a.a = nil
    }
    
    // New creates a new *T in the provided arena. The *T must not be used after
    // the arena is freed. Accessing the value after free may result in a fault,
    // but this fault is also not guaranteed.
    func New[T any](a *Arena) *T {
    	return runtime_arena_arena_New(a.a, reflectlite.TypeOf((*T)(nil))).(*T)
    }
    
    // MakeSlice creates a new []T with the provided capacity and length. The []T must
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TableCollectors.java

        final List<MutableCell<R, C, V>> insertionOrder = new ArrayList<>();
        final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create();
    
        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures());
        if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) {
          return new TestSuite();
        } else {
          return ListTestSuiteBuilder.using(
                  new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
              .named(parentBuilder.getName() + ".asMap[].get[key]")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            switch (this.informationLevel) {
            case FileInformation.FILE_BASIC_INFO:
                inf = new FileBasicInfo();
                break;
            case FileInformation.FILE_STANDARD_INFO:
                inf = new FileStandardInfo();
                break;
            case FileInformation.FILE_INTERNAL_INFO:
                inf = new FileInternalInfo();
                break;
            default:
                return null;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

     */
    class EnhancedConfigurationConverter extends ObjectWithFieldsConverter {
    
        // Cache for expression evaluation results to avoid repeated evaluations
        private static final ConcurrentMap<String, Object> EXPRESSION_CACHE = new ConcurrentHashMap<>();
    
        protected Object fromExpression(
                final PlexusConfiguration configuration, final ExpressionEvaluator evaluator, final Class<?> type)
                throws ComponentConfigurationException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. cmd/warm-backend-minio.go

    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4K bytes
    - Click Count (1)
  7. src/archive/zip/register.go

    	"sync"
    )
    
    // A Compressor returns a new compressing writer, writing to w.
    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    type Compressor func(w io.Writer) (io.WriteCloser, error)
    
    // A Decompressor returns a new decompressing reader, reading from r.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/arch/loong64.go

    		simdType = loong64.LASX
    		simdReg = reg - loong64.REG_X0
    	default:
    		return errors.New("Loong64 extension: invalid LSX/LASX register: " + fmt.Sprintf("%d", reg))
    	}
    
    	if isIndex {
    		arngType, ok = loong64ElemExtMap[ext]
    		if !ok {
    			return errors.New("Loong64 extension: invalid LSX/LASX arrangement type: " + ext)
    		}
    
    		a.Reg = loong64.REG_ELEM
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Feb 14 15:17:33 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  9. ci/official/installer_wheel.sh

      # replace the old tag in the WHEEL file in this directory with the new tag we
      # have in ${whl_tag}. Replace the line in WHEEL that starts with "Tag:" with
      # "Tag: <new whl tag>"
      sed -i "s/^Tag:.*/Tag: ${whl_tag}/g" "${pkg_name}"/"${pkg_name}".dist-info/WHEEL
    
      # Repack the wheel. When repacking, the wheel would be automatically tagged
      # with the new tag we provided in ${whl_tag}. Repacking also regnerates the
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 04 22:39:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

        int written = 0;
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        CountingOutputStream counter = new CountingOutputStream(out);
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(0);
        written += 1;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        byte[] data = new byte[10];
        counter.write(data);
        written += 10;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top