Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 368 for tmp (0.02 sec)

  1. src/bufio/scan_test.go

    	// Build a buffer of lots of line lengths up to but not exceeding smallMaxTokenSize.
    	tmp := new(bytes.Buffer)
    	buf := new(bytes.Buffer)
    	lineNum := 0
    	j := 0
    	for i := 0; i < 2*smallMaxTokenSize; i++ {
    		genLine(tmp, lineNum, j, true)
    		if j < smallMaxTokenSize {
    			j++
    		} else {
    			j--
    		}
    		buf.Write(tmp.Bytes())
    		lineNum++
    	}
    	s := NewScanner(&slowReader{1, buf})
    	s.Split(ScanLines)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          int extras = numGoodQueries % size;
    
          for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = Lists.newArrayList(elementsInSet);
          shuffle(tmp, random);
          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        }
      }
    
      @Benchmark
      int benchmarkGetChecked(int reps) {
        int tmp = 0;
        GetCheckedTypeValidator validator = this.validator.validator;
        Future<Object> future = this.result.future;
        Class<? extends Exception> exceptionType = this.exceptionType.exceptionType;
        for (int i = 0; i < reps; ++i) {
          try {
            tmp += getChecked(validator, future, exceptionType).hashCode();
          } catch (Exception e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 22 03:01:34 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  4. tests/prepared_stmt_test.go

    	writerFinish := make(chan struct{})
    
    	wg.Add(1)
    	go func(id uint) {
    		defer wg.Done()
    		defer close(writerFinish)
    
    		for j := 0; j < loopCount; j++ {
    			var tmp User
    			err := tx.Session(&gorm.Session{}).First(&tmp, id).Error
    			if err == nil || isUsingClosedConnError(err) {
    				continue
    			}
    			t.Errorf("failed to read user of id %d due to %s, there should not be error", id, err)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    			return -1, err
    		}
    		if tmp.First == "" && tmp.Last == "" && tmp.EOS {
    			return 0, errFileNotFound
    		}
    		if tmp.First >= search {
    			o.debugln("First >= search", v)
    			return i, nil
    		}
    		if tmp.Last >= search {
    			o.debugln("Last >= search", v)
    			return i, nil
    		}
    		if tmp.EOS {
    			o.debugln("no match, at EOS", v)
    			return -3, io.EOF
    		}
    		o.debugln("First ", tmp.First, "<", search, " search", i)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NodeStatusRequest.java

        }
    
    
        @Override
        int writeBodyWireFormat ( byte[] dst, int dstIndex ) {
            int tmp = this.questionName.hexCode;
            this.questionName.hexCode = 0x00; // type has to be 0x00 for node status
            int result = writeQuestionSectionWireFormat(dst, dstIndex);
            this.questionName.hexCode = tmp;
            return result;
        }
    
    
        @Override
        int readBodyWireFormat ( byte[] src, int srcIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
        public void close() throws IOException {
            file.close();
            tmp = null;
        }
    
    /**
     * Writes the specified byte to this file output stream.
     *
     * @throws IOException if a network error occurs
     */
    
        public void write( int b ) throws IOException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
    
    /**
     * Writes b.length bytes from the specified byte array to this
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

            values[i][j] = rng.nextDouble();
          }
        }
      }
    
      @Benchmark
      int meanAndVariance(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          tmp += varianceAlgorithm.variance(values[i & 0xFF], meanAlgorithm).hashCode();
        }
        return tmp;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

            isBroadcast = false;
        }
    
        int writeBodyWireFormat( byte[] dst, int dstIndex ) {
            int tmp = questionName.hexCode;
            questionName.hexCode = 0x00; // type has to be 0x00 for node status
            int result = writeQuestionSectionWireFormat( dst, dstIndex );
            questionName.hexCode = tmp;
            return result;
        }
        int readBodyWireFormat( byte[] src, int srcIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  10. helm/minio/templates/deployment.yaml

                {{- if .Values.etcd.clientCert }}
                - name: MINIO_ETCD_CLIENT_CERT
                  value: "/tmp/credentials/etcd_client_cert.pem"
                {{- end }}
                {{- if .Values.etcd.clientCertKey }}
                - name: MINIO_ETCD_CLIENT_CERT_KEY
                  value: "/tmp/credentials/etcd_client_cert_key.pem"
                {{- end }}
                {{- if .Values.etcd.pathPrefix }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top