Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 830 for lengthOf (0.33 sec)

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

            if (target1 == null || target2 == null) {
                return false;
            }
            final int length1 = target1.length();
            final int length2 = target2.length();
            if (length1 < length2) {
                return false;
            }
            final String s1 = target1.substring(length1 - length2);
            return s1.equalsIgnoreCase(target2);
        }
    
        /**
         * 大文字小文字を無視して特定の文字で始まっているのかどうかを返します。
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          }
    
        // Read the length.
        val length0 = source.readByte().toInt() and 0xff
        val length =
          when {
            length0 == 0b1000_0000 -> {
              throw ProtocolException("indefinite length not permitted for DER")
            }
            (length0 and 0b1000_0000) == 0b1000_0000 -> {
              // Length specified over multiple bytes.
              val lengthBytes = length0 and 0b0111_1111
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            for (i in strings.indices) {
              lengths[i] = strings[i].toLong()
            }
          } catch (_: NumberFormatException) {
            invalidLengths(strings)
          }
        }
    
        /** Append space-prefixed lengths to [writer]. */
        @Throws(IOException::class)
        internal fun writeLengths(writer: BufferedSink) {
          for (length in lengths) {
            writer.writeByte(' '.code).writeDecimalLong(length)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  4. cmd/erasure-decode_test.go

    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    	// Verify erasure.Decode() for random offsets and lengths.
    	for i := 0; i < iterations; i++ {
    		offset := r.Int63n(length)
    		readLen := r.Int63n(length - offset)
    
    		expected := data[offset : offset+readLen]
    
    		// Get the checksums of the current part.
    		bitrotReaders := make([]io.ReaderAt, len(disks))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  5. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            Comparable[] c = new Comparable[versions.length];
            for (int i = 0; i < versions.length; i++) {
                c[i] = newComparable(versions[i]);
            }
    
            for (int i = 1; i < versions.length; i++) {
                Comparable low = c[i - 1];
                for (int j = i; j < versions.length; j++) {
                    Comparable high = c[j];
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/grappler/grappler.h

    // or removed during the graph transformation. This includes feed and fetch
    // nodes, keep_ops, init_ops. Fills in `values` and `lengths`, each of which
    // must point to an array of length at least `num_values`.
    //
    // The elements of values will point to addresses in `storage` which must be at
    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental_graph.cc

                               const size_t* lengths, int num_values) override {
        if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) {
          op_->colocation_constraints.clear();
          for (int i = 0; i < num_values; ++i) {
            op_->colocation_constraints.emplace(static_cast<const char*>(values[i]),
                                                lengths[i]);
          }
        } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  8. src/archive/tar/common.go

    //
    //	var spd sparseDatas = []sparseEntry{
    //		{Offset: 2,  Length: 5},  // Data fragment for 2..6
    //		{Offset: 18, Length: 3},  // Data fragment for 18..20
    //	}
    //	var sph sparseHoles = []sparseEntry{
    //		{Offset: 0,  Length: 2},  // Hole fragment for 0..1
    //		{Offset: 7,  Length: 11}, // Hole fragment for 7..17
    //		{Offset: 21, Length: 4},  // Hole fragment for 21..24
    //	}
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. tensorflow/c/eager/gradients.cc

                             int num_values, ForwardOperation* forward_op_) {
      std::vector<StringPiece> v(num_values);
      for (int i = 0; i < num_values; ++i) {
        v[i] = StringPiece(static_cast<const char*>(values[i]), lengths[i]);
      }
      forward_op_->attrs.Set(attr_name, v);
      return op_->SetAttrStringList(attr_name, values, lengths, num_values);
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/bufio/scan_test.go

    		}
    		buf.WriteByte('\n')
    	}
    }
    
    // Test the line splitter, including some carriage returns but no long lines.
    func TestScanLongLines(t *testing.T) {
    	// 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)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top