Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 276 for buf1 (0.03 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

            final StringBuilder buf = new StringBuilder();
            appendHex(buf, i);
            return new String(buf);
        }
    
        /**
         * 文字列に、数値を16進数に変換した文字列を追加します。
         *
         * @param buf
         *            追加先の文字列
         * @param i
         *            数値
         */
        public static void appendHex(final StringBuilder buf, final byte i) {
            buf.append(Character.forDigit((i & 0xf0) >> 4, 16));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. src/archive/tar/fuzz_test.go

    		files := []file{}
    		for {
    			hdr, err := r.Next()
    			if err == io.EOF {
    				break
    			}
    			if err != nil {
    				return
    			}
    			buf := bytes.NewBuffer(nil)
    			if _, err := io.Copy(buf, r); err != nil {
    				continue
    			}
    			files = append(files, file{header: hdr, content: buf.Bytes()})
    		}
    
    		// If we were unable to read anything out of the archive don't
    		// bother trying to roundtrip it.
    		if len(files) == 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append("/WEB-INF/view/").append(page);
            if (StringUtil.isNotBlank(lang)) {
                buf.append('_').append(lang);
                if (StringUtil.isNotBlank(country)) {
                    buf.append('_').append(country);
                }
            }
            buf.append(".jsp");
            return buf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.cc

    }
    
    const void TFE_MonitoringStringGaugeCellValue(
        TFE_MonitoringStringGaugeCell* cell, TF_Buffer* buf) {
      tensorflow::string value = cell->cell.value();
      void* data = tensorflow::port::Malloc(value.length());
      value.copy(static_cast<char*>(data), value.length(), 0);
      buf->data = data;
      buf->length = value.length();
      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
      };
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

        public String toString() {
            StringBuilder buf = new StringBuilder();
    
            buf.append(isLowerBoundInclusive() ? '[' : '(');
            if (getLowerBound() != null) {
                buf.append(getLowerBound().toString());
            }
            buf.append(',');
            if (getUpperBound() != null) {
                buf.append(getUpperBound().toString());
            }
            buf.append(isUpperBoundInclusive() ? ']' : ')');
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    		// or space is needed.
    		if s.start > 0 && (s.end == len(s.buf) || s.start > len(s.buf)/2) {
    			copy(s.buf, s.buf[s.start:s.end])
    			s.end -= s.start
    			s.start = 0
    		}
    		// Is the buffer full? If so, resize.
    		if s.end == len(s.buf) {
    			// Guarantee no overflow in the multiplication below.
    			const maxInt = int(^uint(0) >> 1)
    			if len(s.buf) >= s.maxTokenSize || len(s.buf) > maxInt/2 {
    				s.setErr(ErrTooLong)
    				return false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. schema/naming.go

    			if lastCase && (nextCase || nextNumber) {
    				buf.WriteRune(v + 32)
    			} else {
    				if i > 0 && value[i-1] != '_' && value[i+1] != '_' {
    					buf.WriteByte('_')
    				}
    				buf.WriteRune(v + 32)
    			}
    		} else {
    			buf.WriteRune(v)
    		}
    
    		lastCase = curCase
    		curCase = nextCase
    	}
    
    	if curCase {
    		if !lastCase && len(value) > 1 {
    			buf.WriteByte('_')
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    return new IntItem(buf);
                } else if (buf.length() <= MAX_LONGITEM_LENGTH) {
                    // lower than 2^63
                    return new LongItem(buf);
                }
                return new BigIntegerItem(buf);
            }
            return new StringItem(buf, false);
        }
    
        private static String stripLeadingZeroes(String buf) {
            if (buf == null || buf.isEmpty()) {
                return "0";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. schema/serializer.go

    }
    
    // Value implements serializer interface
    func (GobSerializer) Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {
    	buf := new(bytes.Buffer)
    	err := gob.NewEncoder(buf).Encode(fieldValue)
    	return buf.Bytes(), err
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/net/UuidUtil.java

         * @return UUIDの文字列
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top