SYS-REQ-008
(p1, p2 []string)
| 379 | |
| 380 | // SYS-REQ-008 |
| 381 | func sameTree(p1, p2 []string) bool { |
| 382 | minLen := len(p1) |
| 383 | if len(p2) < minLen { |
| 384 | minLen = len(p2) |
| 385 | } |
| 386 | |
| 387 | for pi_1, p_1 := range p1[:minLen] { |
| 388 | if p2[pi_1] != p_1 { |
| 389 | return false |
| 390 | } |
| 391 | } |
| 392 | |
| 393 | return true |
| 394 | } |
| 395 | |
| 396 | const stackArraySize = 128 |
| 397 |
no outgoing calls
no test coverage detected
searching dependent graphs…