Benign freebsd Download

ocs_hw_queues.c

Code formats a zero-padded integerCalls a character-class helper
SHA-256cc3848d221830b2de74083b2831445b041f3c2872ddb4223dff5da0bef010ad9

Evidence

English function-word token "the" lines 2–11
2:9… ight (c) 2017 Broadcom. All rights reserved.
3 * The term "Broadcom" refers to Broadcom Limited and/or its subsidiaries.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 *
11 * 2. Redistributions in binary form must r …
imports ocs_hw.h lines 29–46
⋯6 lines
35 */
36
37#include "ocs_os.h"
38#include "ocs_hw.h"
39#include "ocs_hw_queues.h"
40
41#define HW_QTOP_DEBUG 0
⋯5 lines
Code formats a zero-padded integer lines 379–391
379:23… &hw->eq_list, eq);
380 ocs_log_debug(hw->os, "create eq[%2d] id %3d len %4d\n", eq->instance, eq->queue->id,
381 eq->entry_count);
382 }
⋯9 lines
C declares a character or byte buffer lines 1107–1118
1107 */
1108typedef struct {
1109 tok_type_e type;
1110 tok_subtype_e subtype;
1111 char string[TOKEN_LEN];
1112} tok_t;
1113
⋯5 lines
Calls a character-class helper lines 1138–1151
1138:35… ID start character
1139 */
1140static int32_t
1141idstart(int c)
1142{
1143 return isalpha(c) || (c == '_') || (c == '$');
1144}
1145
⋯6 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.