- MinGW32が
-municode
オプションを認識しないため、オプション削除。 wmain
が使えないのでwinmain.h
を無効化。WPATH
を無効化。- unicode版は
CreateFileW
時にMeCab::Utf8ToWide(filename).c_str()
としたが、日本語を含むパスをUTF-8で渡しても失敗する。 - ansi版は
CreateFileW
をCreateFileA
にした。日本語を含むパスはShiftJISで渡せば成功する。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2016, mugwort_rc | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Graphviz IPython magic extensions | |
Magic methods: | |
%dot <dot graph> | |
%%dot <dot ... | |
... graph> | |
%dotstr "<dot graph>" | |
%dotobj obj.to_dot() | |
%dotobjs obj[0].to_dot(), obj[1].to_dot(), ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[==========] Running 1 test from 1 test case. | |
[----------] Global test environment set-up. | |
[----------] 1 test from IDEATest | |
[ RUN ] IDEATest.test_idea_ecb | |
test_idea.cpp:17: Failure | |
Value of: CIPHER | |
Actual: "\xB1\xF5\xF7\xF8y\x1" "7\xF" | |
Expected: idea.encrypt(PLAIN) | |
Which is: "\xF\xE4\xF7\xF3v\xED\x87\f" | |
test_idea.cpp:18: Failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[==========] Running 1 test from 1 test case. | |
[----------] Global test environment set-up. | |
[----------] 1 test from SHA512Test | |
[ RUN ] SHA512Test.test_sha512_short_msg | |
test_sha512.cpp:292: Failure | |
Value of: SHA512_SHORT_MSG_HEXDIGEST[i] | |
Actual: "c00926a374cde55b8fbd77f50da1363da19744d3f464e07ce31794c5a61b6f9c85689fa1cfe136553527fd876be91673c2cac2dd157b2defea360851b6d92cf4" | |
Expected: sha512.hexdigest() | |
Which is: "59134d25244d1cb03c9b2e8ebd718d7b82ef232175ae423b87d7651149c339cac1bdd9cd64533d38f9d792a251fa7fb1be59c705b6cf114d7f65188dc6a531f0" | |
test_sha512.cpp:292: Failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[==========] Running 1 test from 1 test case. | |
[----------] Global test environment set-up. | |
[----------] 1 test from SHA384Test | |
[ RUN ] SHA384Test.test_sha384_short_msg | |
test_sha384.cpp:292: Failure | |
Value of: SHA384_SHORT_MSG_HEXDIGEST[i] | |
Actual: "aead8688c58c6ba4e9cadb4756b465dce0fb06f1cfaa478197f2ea89414e47e9572034adfed160703c79b82b3fd7ab78" | |
Expected: sha384.hexdigest() | |
Which is: "46779ca1f33c5679a7fd777fa115aaeffca3baf426a411c702b88f635e528b654c0f4dcd0b838f0d0350e159ad92eaf2" | |
test_sha384.cpp:292: Failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> flow.step2_exchange(code) | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/usr/local/lib/python2.7/dist-packages/google_api_python_client-1.1-py2.7.egg/oauth2client/util.py", line 128, in positional_wrapper | |
return wrapped(*args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/google_api_python_client-1.1-py2.7.egg/oauth2client/client.py", line 1283, in step2_exchange | |
headers=headers) | |
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.8-py2.7.egg/httplib2/__init__.py", line 1570, in request | |
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) | |
File "/usr/local/lib/python2.7/dist-packages/httplib2-0.8-py2.7.egg/httplib2/__init__.py", line 1317, in _request |
NewerOlder