Examples of SetType()


Examples of SevenZip.Compression.LZ.BinTree.SetType()

 
  private void Create() {
    if (this._matchFinder == null) {
      BinTree bt = new BinTree();
      int numHashBytes = (this._matchFinderType == EMatchFinderTypeBT2) ? 2 : 4;
      bt.SetType(numHashBytes);
      this._matchFinder = bt;
    }
    this._literalEncoder.Create(this._numLiteralPosStateBits, this._numLiteralContextBits);
   
    if (this._dictionarySize == this._dictionarySizePrev && this._numFastBytesPrev == this._numFastBytes)
View Full Code Here

Examples of org.gdal.ogr.FieldDefn.SetType()

                    if (papszFieldTypesToString != null &&
                        (CSLFindString(papszFieldTypesToString, "All") != -1 ||
                        CSLFindString(papszFieldTypesToString,
                                    ogr.GetFieldTypeName(poSrcFDefn.GetFieldDefn(iSrcField).GetFieldType())) != -1))
                        oFieldDefn.SetType(ogr.OFTString);

                    /* The field may have been already created at layer creation */
                    int iDstField = -1;
                    if (poDstFDefn != null)
                        iDstField = poDstFDefn.GetFieldIndex(oFieldDefn.GetNameRef());
View Full Code Here

Examples of org.gdal.ogr.FieldDefn.SetType()

                if (papszFieldTypesToString != null &&
                    (CSLFindString(papszFieldTypesToString, "All") != -1 ||
                    CSLFindString(papszFieldTypesToString,
                                ogr.GetFieldTypeName(poSrcFDefn.GetFieldDefn(iField).GetFieldType())) != -1))
                    oFieldDefn.SetType(ogr.OFTString);

                /* The field may have been already created at layer creation */
                int iDstField = -1;
                if (poDstFDefn != null)
                    iDstField = poDstFDefn.GetFieldIndex(oFieldDefn.GetNameRef());
View Full Code Here

Examples of org.jxchange.client.cdo121.JXCdoRecipient.SetType()

            r1.SetName(new JIString("dont@spam.com").Variant);
            r2.SetName(new JIString("dont@spam2.com").Variant);

            // r1 will be the 'to' address and r2 will be 'cc'-ied
            r1.SetType(new JIVariant(JXCdoEnum.CdoRecipientType.CdoTo.intValue()));
            r2.SetType(new JIVariant(JXCdoEnum.CdoRecipientType.CdoCc.intValue()));

            // Each recipient added must be resolved before it can be used.
            // 0 == false to inhibit dialog boxes from popping up
            r1.Resolve(new JIVariant(0));
            r2.Resolve(new JIVariant(0));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.