MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / write

Method write

src/main/java/fieldpython/PI.kt:153–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 true
152 )
153 )
154 })
155 } else {
156 val o: Set<Consumer<Quad<Box, Int, String, Boolean>?>> = box.find(
157 directedOutput, box.upwards()
158 )
159 .collect(Collectors.toSet())
160 if (o.size > 0) {
161 o.forEach(Consumer { x: Consumer<Quad<Box, Int, String, Boolean>?> ->
162 x.accept(
163 Quad(
164 currentLineNumber!!.first, currentLineNumber!!.second, s,
165 currentLineNumber!!.third
166 )
167 )
168 })
169 } else {
170 o.forEach(Consumer { x: Consumer<Quad<Box, Int, String, Boolean>?> ->
171 x.accept(
172 Quad(
173 box,
174 -1,
175 s,
176 true
177 )
178 )
179 })
180 }
181 }
182 }
183 }
184
185 @Throws(IOException::class)
186 override fun flush() {
187 }
188
189 @Throws(IOException::class)
190 override fun close() {
191 }
192 }
193
194 return object : Execution.ExecutionSupport {
195
196 var lineOffset = 0
197
198 internal var uniq: Long = 0
199
200 override fun executeTextFragment(
201 textFragment: String,
202 suffix: String,
203 success: Consumer<String>,
204 lineErrors: Consumer<Pair<Int, String>>
205 ): Any? {
206 var textFragment = textFragment

Callers 15

tbFunction · 0.45
ubFunction · 0.45
upload-release.jsFile · 0.45
runMethod · 0.45
extractFileMethod · 0.45
sendAsChunkedMethod · 0.45
sendAsFixedLengthMethod · 0.45
parseBodyMethod · 0.45
saveTmpFileMethod · 0.45
saveMethod · 0.45
writeFLineMethod · 0.45
saveMethod · 0.45

Calls 7

QuadClass · 0.85
replaceMethod · 0.80
collectMethod · 0.80
upwardsMethod · 0.80
acceptMethod · 0.65
findMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected