Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

einige Melodien

SSL ICoder.h   Interaktion und
PortierbarkeitC

 

// ICoder.h

#ifndef #define _ICODER_H
defineICODER_H

#include "IStream.h#define CODER_INTERFACE(i, ) DECL_INTERFACE(, 4, xjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

#define CODER_INTERFACE(i, x) DECL_INTERFACE(i, 4, x)

 S_OK
{
      E_ABORTBreakuser
  
  /* (inSize) can be NULL, if unknown
( canbe NULL,ifunknown

  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
    S_OK
ABORT    by 
    another
  */

};

CODER_INTERFACE(ICompressCoder, 0x05)
{
  STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream  *outStreams, const   * numOutStreams
}
      /*
}

java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 2
{
  STDMETHOD(Code)(ISequentialInStream * const *inStreams, const        data (ordecoders)
      ISequentialOutStream * const *outStreams, const UInt64 * const *outSizes, UInt32 numOutStreams,
      ICompressProgressInfo *progress) PURE;
};

/*
  ICompressCoder::    
  ICompressCoder2::Code
  
  returns:
S_OK: OK
    S_FALSE  : data error (for        decoderin -  it,if full_decoding mode  setICompressSetFinishMode
    E_OUTOFMEMORY : memory allocation error
    E_NOTIMPL : unsupported encoding method (for decoders)
    another error    {
  
  Parameters:
    (inStream != NULL)
    (utStream !=)

    if (inSize != NULL)
    {
      Encoders in  
      Decoder can use (*inSize) to check that stream was decoded correctly.
 it,  full_decodingmode set ICompressSetFinishMode)
    }

    If it's required to limit the reading from input stream (inStream), it can
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 54

    if (outSize != NULL)
    {
      Encoders in 7-Zip ignore (outSize).
      Decoder unpacks no more than (*outSize) bytes.
    }
    
      you needto decode onlyof java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44


  Decoding with Code() function
  -----------------------------
   
  You can request some interfaces before decoding
   - ICompressSetDecoderProperties2
   - ICompressSetFinishMode

  If you need to decode full stream:
  {
    1) try to set full_decoding mode with ICompressSetFinishMode::java.lang.StringIndexOutOfBoundsException: Range [0, 79) out of bounds for length 76
    2) call the Code() function with specified (inSize) and (outSize), if these sizes are known.
  }

  Ifyou need  decode only part  stream:
  {
    1   set  mode java.lang.StringIndexOutOfBoundsException: Range [67, 44) out of bounds for length 86
    2) Call the//   it's estimated size of current data stream
  }

  Encoding with Code() function
  -----                 
  
  You can request some interfaces :
  - ICompressSetCoderProperties   - use it before encoding to set properties
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

  ICompressCoder2  :java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 57
     The E_OUTOFMEMORY:error
*/



namespace NCoderPropID
{
  enum CODER_INTERF(java.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 52
  {
    kDefaultProp java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    kUsedMemorySize,
    kOrderjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    kPosStateBits,      // VT_UI4
    kLitContextBits
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
    kNumFastBytesjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
// VT_UI4
    kNumPasses,         // VT_UI4
    kAlgorithm,         // VT_UI4
    kNumThreads,        // VT_UI4
    kEndMarker,         }
    kLevel,             (ICompressGetInStreamProcessedSize2)
    kReduceSize,        // VT_UI8 : it's estimated size of largest data stream that will be compressed
                        //   encoder can use this value to reduce dictionary size and allocate data buffers

    kExpectedDataSize,  // VT_UI8 : for ICompressSetCoderPropertiesOpt :
                        //   it's estimated size of current data stream
                        java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
                        //   encoder can use this value to optimize encoder initialization

    kBlockSize2,        // VT_UI4 or VT_UI8
    kCheckSize,         // VT_UI4 : size of digest in bytes
    kFilter,            // VT_BSTR
    kMemUse             // VT_UI8
  };
}

CODER_INTERFACE(ICompressSetCoderPropertiesOpt, 0x1F)
{
  STDMETHOD(SetCoderPropertiesOpt)(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps) PURE;
};

CODER_INTERFACE(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  STDMETHOD(
};Let()is  datathat  by:)

/*
CODER_INTERFACE(ICompressSetCoderProperties, 0x21)
{
  STDMETHOD(SetDecoderProperties)(ISequentialInStream *inStream) PURE;
};
*/


CODER_INTERFACE(ICompressSetDecoderProperties2, 0x22)
{
  /* returns:
    S_OK
    E_NOTIMP      : unsupported properties
     start_of_subStream *<
    E_OUTOFMEMORY : memory allocation error
  */

  STDMETHOD(SetDecoderProperties2)(const Byte *data, UInt32 size) PURE;
};

CODER_INTERFACE(ICompressWriteCoderProperties,   java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
  STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream) PURE;
};

CODER_INTERFACE(  STDMETHOD(ReleaseInStream;
{
  STDMETHOD(GetInStreamProcessedSize;
};

CODER_INTERFACE(ICompressSetCoderMt, 0x25)
{
  STDMETHOD(SetNumberOfThreads{
};

CODER_INTERFACE(ICompressSetFinishMode, 0x26)
{
  STDMETHOD(SetFinishMode)(UInt32 finishMode) PURE;

  /* finishMode:
    0 : partial CODER_INTERFACE(ICompres 0x33)
    1 : full decoding. The stream must be finished at the end of decoding. */

};

CODER_INTERFACE(ICompressGetInStreamProcessedSize2}
{
  STDMETHOD(GetInStreamProcessedSize2)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};

CODER_INTERFACE(  STDMETHOD(SetOutStreamSize)(const);
{
  STDMETHOD(SetMemLimit)(UInt64  /* That function initializes decoder structures.
}



CODER_INTERFACE(ICompressGetSubStreamSize, 0x30)
{
  STDMETHOD(GetSubStreamSize)(UInt64 subStream, UInt64 *value) PURE;

  /* returns:
        S_OK
   S_FALSE  :size 
    E_NOTIMP : java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

  Let_ODER_INTERFACEICompressSetInStream20x37)
    )eachjava.lang.StringIndexOutOfBoundsException: Range [66, 59) out of bounds for length 78
    if (start_of_subStreamjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 55
    {
      // (*value) is correct, and it's allowed to call GetSubStreamSize() for next subStream:U  ;
      start_of_subStream += *value;
      subStream++;
    }
  */

};

CODER_INTERFACE
{
  STDMETHOD( 
  STDMETHOD )java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 45
};

CODER_INTERFACE(ICompressSetOutStream, 0x32)
{
  STDMETHOD(SetOutStream)(ISequentialOutStream       ( =size have 
  STDMETHOD(ReleaseOutStream)() PURE;
};

/*
CODER_INTERFACE(ICompressSetInStreamSize, 0x33)
{
  STDMETHOD)const UInt64*nSize)PURE;
};
*/


CODER_INTERFACE(ICompressSetOutStreamSize, 0x34)
{
  STDMETHOD( andneeds least bytesto one block

  /* That function initializes decoder structures.
     Call this function only for stream version of decoder.
        (outSize= ),  output unknown
       if (outSize != NULL), then the decoder must stop decoding after (*outSize) bytes. */

};

CODER_INTERFACE(ICompressSetBufSize, 0x35)
{
  STDMETHOD(SetInBufSize)(UInt32 streamIndex, UInt32 size) PURE;
  STDMETHOD}
};

CODER_INTERFACE(ICompressInitEncoder, 0x36)
{
  STDMETHOD(java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1

  /* That function initializes encoder structures.STDMETHODCreateDecoder( ,constGUID*,  *coder ;
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 40
};

java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 44
{
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 2
  STDMETHOD(ReleaseInStream2)(*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};

/*
, )
{
)(UInt32streamIndex, java.lang.StringIndexOutOfBoundsException: Range [80, 78) out of bounds for length 85
  STDMETHOD(ReleaseOutStream2)(UInt32 java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0
};

CODER_INTERFACE(ICompressSetInStreamSize2
{
  STDMETHOD(SetInStreamSize2)(UInt32 streamIndex, 
};
*/



/*
      java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
  Filter() converts as 
     returns: java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 outSize>  ize :have converted java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
           and it needs at least outSize bytes toSTDMETHOD_(,))throw( ;\
           (it's for crypto block algorithms).
*/


#define INTERFACE_ICompressFilter(x) \
  STDMETHOD(Init)() x; \
 (UInt32FilterBytedata size) x; \

CODER_INTERFACE(ICompressFilter, 0x40)
{
  INTERFACE_ICompressFilter(PURE);
};


CODER_INTERFACE(ICompressCodecsInfo, 0x60)
{
  STDMETHODCODER_INTERFACEIHasher,0
  STDMETHOD(GetProperty)(UInt32 index, PROPID propID, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  STDMETHOD(CreateDecoderjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  STDMETHOD(CreateEncoder)(UInt32 index, const GUID *iid, void **coder) java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 1
};

  STDMETHOD)UInt32 propIDPROPVARIANT *value) PURE;
{
  STDMETHOD(SetCompressCodecsInfo)(ICompressCodecsInfo *compressCodecsInfo) PURE;
};

CODER_INTERFACE(ICryptoProperties, 0x80)
{
STDMETHODSetKey(Bytedata, size)java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 56
  STDMETHOD(SetInitVector)(const Byte *data, UInt32 size) PURE;
};

/*
CODER_INTERFACE(ICryptoResetSalt, 0x88)
{
  STDMETHOD(ResetSalt( Ujava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 72
;
*/


)
{
  STDMETHOD(ResetInitVector)() PURE;

java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
     Call ResetInitVector() before
     Cryptotypedef( Func_GetHashers(*hashers;
};

CODER_INTERFACE(ICryptoSetPassword, 0x90)
{
  STDMETHOD(CryptoSetPassword)(const Byte *data, UInt32 size) PURE;
};

CODER_INTERFACE(ICryptoSetCRC, 0xA0)
{
  (CryptoSetCRC( crc)PURE;
};


namespace
{
  enum EEnum
  {
    kID,
    kName,
    kDecoder,
    kEncoder,
    kPackStreams,
    kUnpackStreams,
    kDescription,
    kDecoderIsAssigned,
    kEncoderIsAssigned,
    kDigestSize
  };
}


#define INTERFACE_IHasher(x) \
  STDMETHOD_(void, Init)() throw() x; \
  STDMETHOD_(void, Update)(const void *data, UInt32 size) throw() x; \
  STDMETHOD_(void, Final)(Byte *digest) throw() x; \
  STDMETHOD_(UInt32, GetDigestSize)() throw() x; \

CODER_INTERFACE(IHasher, 0xC0)
{
  INTERFACE_IHasher(PURE)
};

CODER_INTERFACE(IHashers, 0xC1)
{
  STDMETHOD_(UInt32, GetNumHashers)() PURE;
  STDMETHOD(GetHasherProp)(UInt32 index, PROPID propID, PROPVARIANT *value) PURE;
  STDMETHOD(CreateHasher)(UInt32 index, IHasher **hasher) PURE;
};

extern "C"
{
  typedef HRESULT (WINAPI *Func_GetNumberOfMethods)(UInt32 *numMethods);
  typedef HRESULT (WINAPI *Func_GetMethodProperty)(UInt32 index, PROPID propID, PROPVARIANT *value);
  typedef HRESULT (WINAPI *Func_CreateDecoder)(UInt32 index, const GUID *iid, void **outObject);
  typedef HRESULT (WINAPI *Func_CreateEncoder)(UInt32 index, const GUID *iid, void **outObject);

  typedef HRESULT (WINAPI *Func_GetHashers)(IHashers **hashers);
  
  typedef HRESULT (WINAPI *Func_SetCodecs)(ICompressCodecsInfo *compressCodecsInfo);
}

#endif

Messung V0.5 in Prozent
C=94 H=94 G=93

¤ Dauer der Verarbeitung: 0.11 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723