17+ results for '"i don't know"' (0 ms)
Not the results you expected?
Factory.scala (https://github.com/gkossakowski/scala-dev.git) Scala · 250 lines
27 case java.sql.ResultSetMetaData.columnNoNulls => Some(false);
28 case java.sql.ResultSetMetaData.columnNullable => Some(true);
29 case java.sql.ResultSetMetaData.columnNullableUnknown => None;
30 }
230 }
231 /* Undefined cases. */
232 case OTHER => new datatype.Unknown {
233 override val nullable = isNullable(metadata, index);
234 }
245 sys.error ("I don't support date and time data types yet.");
246 /* Default case */
247 case x => sys.error ("I don't know about this ("+metadata.getColumnTypeName(index)+") JDBC type.")
248 }
249 }
Factory.scala (https://bitbucket.org/ngmares/scala.git) Scala · 250 lines
27 case java.sql.ResultSetMetaData.columnNoNulls => Some(false);
28 case java.sql.ResultSetMetaData.columnNullable => Some(true);
29 case java.sql.ResultSetMetaData.columnNullableUnknown => None;
30 }
230 }
231 /* Undefined cases. */
232 case OTHER => new datatype.Unknown {
233 override val nullable = isNullable(metadata, index);
234 }
245 sys.error ("I don't support date and time data types yet.");
246 /* Default case */
247 case x => sys.error ("I don't know about this ("+metadata.getColumnTypeName(index)+") JDBC type.")
248 }
249 }
checkbox.cpp (https://bitbucket.org/lennonchan/cafu.git) C++ · 213 lines
plugin_command_knowledge.py (https://github.com/DreigonDragon/magnet2.git) Python · 177 lines
43 existent_term = getterm(bot, room, term_key)
44 if not existent_term:
45 return (False, "I don't know %s."%(term))
46 res = existent_term['def']
47 if res[:3] == '[h]' and mode != 'help':
131 existent_term = getterm(bot, room, term_key)
132 if not existent_term:
133 return "I don't know %s."%(term)
135 if access_level < LEVEL_ADMIN:
173 def unload(bot):
174 bot.save_database('knowledge', knowledge_db)
176 def info(bot):
lmc2csv.pl (https://github.com/behlendorf/lustre.git) Perl · 352 lines
45 $net->{"iface"} = get_arg_val("iface", \@_);
46 if ($#_ > 0) {
47 print STDERR "Unknown arguments to \"--add net\": @_\n";
48 exit(1);
49 }
63 $mds->{"inode_size"} = get_arg_val("inode_size", \@_);
64 if ($#_ > 0) {
65 print STDERR "Unknown arguments to \"--add mds\": @_\n";
66 exit(1);
67 }
175 }
176 if ($i == $#args) {
177 print STDERR "I don't know how to handle @args\n";
178 exit(1);
179 }
KeywordTests.cs (https://github.com/abimaran/clojure-clr.git) C# · 276 lines
default.sh (https://github.com/ttscoff/QuickQuestion.git) Shell · 274 lines
71 then
72 appname=`basename $0`
73 echo "$appname: build a knowledgebase with plain text files"
74 echo "Find an answer: $appname \"terms to search for\""
75 echo "Add a question\answer: $appname -a \"Question in natural language\" \"Succinct answer\""
110 echo -e "$RESULTS" | while read LINE; do
111 if [[ "$LINE" =~ ^$ ]]; then
112 echo "Sorry, I don't know the answer to that question."
113 exit 1;
114 fi
245 echo -e "$RESULTS" | while read LINE; do
246 if [[ "$LINE" =~ ^$ ]]; then
247 echo "Sorry, I don't know the answer to that question."
248 exit 1;
249 fi
brkthru.c (https://github.com/groovybits/groovymame.git) C · 275 lines
blk-settings.c
(http://photon-android.googlecode.com/svn/)
C · 805 lines
✨ Summary
This C code is part of the Linux kernel’s block device subsystem, which manages disk I/O operations. It provides various functions for configuring and managing request queues, DMA buffers, and memory alignment, allowing drivers to optimize their performance and behavior. The code also initializes some kernel settings at module load time.
This C code is part of the Linux kernel’s block device subsystem, which manages disk I/O operations. It provides various functions for configuring and managing request queues, DMA buffers, and memory alignment, allowing drivers to optimize their performance and behavior. The code also initializes some kernel settings at module load time.
fcvt.c (https://bitbucket.org/okuoku/csrg.git) C · 233 lines
r.c (https://github.com/b4n/geany.git) C · 205 lines
Types.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 531 lines
✨ Summary
This Java code is part of a compiler or interpreter for a programming language, specifically handling type casting and assignment operations. It checks if an object can be cast to another type, including primitive types, wrapper classes, and interfaces, and throws errors if the operation is not allowed. The code ensures type safety and prevents runtime exceptions due to incorrect casting.
This Java code is part of a compiler or interpreter for a programming language, specifically handling type casting and assignment operations. It checks if an object can be cast to another type, including primitive types, wrapper classes, and interfaces, and throws errors if the operation is not allowed. The code ensures type safety and prevents runtime exceptions due to incorrect casting.
252 // General case prim type to wrapper or vice versa.
253 // I don't know if this is faster than a flat list of 'if's like above.
254 // wrapperMap maps both prim to wrapper and wrapper to prim types,
255 // so this test is symmetric
334 perform primtive operations that cast to a smaller type. e.g. (byte)myLong;
335 These are used in explicit primitive casts, primitive delclarations and
336 array declarations. I don't believe there are any object conversions which are
337 different between ASSIGNMENT and CAST (e.g. scripted object to interface proxy
338 in bsh is done on assignment as well as cast).
config.guess
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
Shell · 1089 lines
✨ Summary
This shell script attempts to guess the system type of a Unix-like operating system by running various commands and checking their outputs. It uses environment variables, system calls, and command-line utilities to determine the system architecture, processor type, and other characteristics. The script then prints out a string representing the guessed system type.
This shell script attempts to guess the system type of a Unix-like operating system by running various commands and checking their outputs. It uses environment variables, system calls, and command-line utilities to determine the system architecture, processor type, and other characteristics. The script then prints out a string representing the guessed system type.
32 #
33 # The plan is that this can be called by configure scripts if you
34 # don't specify an explicit system type (host/target name).
35 #
36 # Only a few systems have been added to this list; please add others
846 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
847 else # Add other i860-SVR4 vendors below as they are discovered.
848 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
849 fi
850 exit 0 ;;
960 #if defined (MIPSEB)
961 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
962 I don't know.... */
963 printf ("mips-sony-bsd\n"); exit (0);
964 #else
macro-tips.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 970 lines
CommandLineReader.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 108 lines
✨ Summary
This Java code creates a CommandLineReader
class that extends FilterReader
. It reads input from the standard input stream, replacing empty lines with ;\n
, allowing for more pleasant interaction on the command line. The reader is tested in a simple main method that continuously prints the read characters.
This Java code creates a CommandLineReader
class that extends FilterReader
. It reads input from the standard input stream, replacing empty lines with ;\n
, allowing for more pleasant interaction on the command line. The reader is tested in a simple main method that continuously prints the read characters.
Catch.cc
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ · 124 lines
✨ Summary
The Catch class is a node in a flowchart that catches an exception and follows a different flow path if one occurs. It has inputs for normal flow and the flow to follow, outputs for the main flow and the caught exception, and uses a try-catch block to handle exceptions thrown by the catch input.
The Catch class is a node in a flowchart that catches an exception and follows a different flow path if one occurs. It has inputs for normal flow and the flow to follow, outputs for the main flow and the caught exception, and uses a try-catch block to handle exceptions thrown by the catch input.
70 /*WARNING: Do not try this at home. Overriding the registerOutput() method should not be
71 done unless you REALLY know what you're doing... and I'm not even sure
72 I know what I'm doing here*/
85 {
86 cerr << "What the heck is going on??? " << endl;
87 throw new NodeException (this, "I don't know what I'm doing", __FILE__, __LINE__);
88 }
89 try