Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for length_is (0.23 sec)

  1. src/main/java/jcifs/dcerpc/rpc.idl

    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    	 * typedef struct _SID_IDENTIFIER_AUTHORITY {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    	 * typedef struct _SID_IDENTIFIER_AUTHORITY {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. src/strings/compare_test.go

    	}
    
    	lengths := make([]int, 0) // lengths to test in ascending order
    	for i := 0; i <= 128; i++ {
    		lengths = append(lengths, i)
    	}
    	lengths = append(lengths, 256, 512, 1024, 1333, 4095, 4096, 4097)
    
    	if !testing.Short() || testenv.Builder() != "" {
    		lengths = append(lengths, 65535, 65536, 65537, 99999)
    	}
    
    	n := lengths[len(lengths)-1]
    	a := make([]byte, n+1)
    	b := make([]byte, n+1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:33:55 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

              }
    
              var lengthBits = source.readByte().toLong() and 0xff
              if (lengthBits == 0L || lengthBytes == 1 && lengthBits and 0b1000_0000 == 0L) {
                throw ProtocolException("invalid encoding for length")
              }
    
              for (i in 1 until lengthBytes) {
                lengthBits = lengthBits shl 8
                lengthBits += source.readByte().toInt() and 0xff
              }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/context.go

    		return c.copy()
    	}
    	if c.info&exceptionBit == 0 {
    		return c.copyXOR()
    	}
    	e := exceptions[c.info>>exceptionShift:]
    	offset := 2 + e[0]&lengthMask // size of header + fold string
    	if nLower := (e[1] >> lengthBits) & lengthMask; nLower != noChange {
    		return c.writeString(e[offset : offset+nLower])
    	}
    	return c.copy()
    }
    
    func isLower(c *context) bool {
    	ct := c.caseType()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    //	missing fold  -> lower
    //	missing title -> upper
    //	all missing   -> original rune
    //
    // exceptions starts with a dummy byte to enforce that there is no zero index
    // value.
    const (
    	lengthMask = 0x07
    	lengthBits = 3
    	noChange   = 0
    )
    
    // References to generated trie.
    
    var trie = newCaseTrie(0)
    
    var sparse = sparseBlocks{
    	values:  sparseValues[:],
    	offsets: sparseOffsets[:],
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_operation.h

      std::vector<size_t> lengths;
      raw_strs.reserve(values.size());
      lengths.reserve(values.size());
      for (const auto& s : values) {
        raw_strs.emplace_back(s.data());
        lengths.emplace_back(s.size());
      }
      return SetAttrStringList(attr_name,
                               reinterpret_cast<const void**>(raw_strs.data()),
                               lengths.data(), values.size());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 14 16:20:41 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  8. src/internal/zstd/fse_test.go

    // license that can be found in the LICENSE file.
    
    package zstd
    
    import (
    	"slices"
    	"testing"
    )
    
    // literalPredefinedDistribution is the predefined distribution table
    // for literal lengths. RFC 3.1.1.3.2.2.1.
    var literalPredefinedDistribution = []int16{
    	4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
    	2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 1, 1, 1, 1, 1,
    	-1, -1, -1, -1,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/compress/bzip2/huffman.go

    	// only the code length assignments.
    
    	if len(lengths) < 2 {
    		panic("newHuffmanTree: too few symbols")
    	}
    
    	var t huffmanTree
    
    	// First we sort the code length assignments by ascending code length,
    	// using the symbol value to break ties.
    	pairs := make([]huffmanSymbolLengthPair, len(lengths))
    	for i, length := range lengths {
    		pairs[i].value = uint16(i)
    		pairs[i].length = length
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          val sources = mutableListOf<Source>()
          val lengths = this.lengths.clone() // Defensive copy since these can be zeroed out.
          try {
            for (i in 0 until valueCount) {
              sources += newSource(i)
            }
            return Snapshot(key, sequenceNumber, sources, lengths)
          } catch (_: FileNotFoundException) {
            // A file must have been deleted manually!
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top