- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 199 for TUnused (0.04 sec)
-
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
String a, int b, // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value. @SuppressWarnings("unused") OneConstantEnum oneConstantOnly, // noConstant doesn't matter since it can only be null @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) { return new GoodEquals(a, b); } // instance method ignored public Object badIgnored() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
.golangci.yml
linters: default: none enable: - durationcheck - forcetypeassert - gocritic - gomodguard - govet - ineffassign - misspell - revive - staticcheck - unconvert - unused - usetesting - whitespace settings: misspell: locale: US staticcheck: checks: - all - -SA1008 - -SA1019 - -SA4000 - -SA9004
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/UndirectedGraphConnections.java
@Override public void removePredecessor(N node) { @SuppressWarnings("unused") V unused = removeSuccessor(node); } @Override public @Nullable V removeSuccessor(N node) { return adjacentNodeValues.remove(node); } @Override public void addPredecessor(N node, V value) { @SuppressWarnings("unused") V unused = addSuccessor(node, value); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/InternersBenchmark.java
for (int i = 0; i < reps; i++) { String unused = interner.intern(Double.toHexString(Math.random())); } return reps; } @CanIgnoreReturnValue @Benchmark int strongInterner(int reps) { Interner<String> interner = Interners.newStrongInterner(); for (int i = 0; i < reps; i++) { String unused = interner.intern(Double.toHexString(Math.random())); } return reps;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
public boolean noAddOverflow(int a, int b) { try { int unused = IntMath.checkedAdd(a, b); return true; } catch (ArithmeticException e) { return false; } } @Override public boolean noAddOverflow(long a, long b) { try { long unused = LongMath.checkedAdd(a, b); return true; } catch (ArithmeticException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
* wire format so that we can observe only the bytes written by a method. */ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
@Test public void testReadString() throws IOException, PACDecodingException { // total=4, unused=1, used=2, string="AB" byte[] data = new byte[] { 0x04, 0x00, 0x00, 0x00, // total 0x01, 0x00, 0x00, 0x00, // unused 0x02, 0x00, 0x00, 0x00, // used 0x00, 0x00, // unused char 0x41, 0x00, // 'A' 0x42, 0x00 // 'B' };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertEquals(2, factory2.newThread(monitoredRunnable).getPriority()); } public void testBuildTwice() { ThreadFactory unused; unused = builder.build(); // this is allowed unused = builder.build(); // this is *also* allowed } public void testBuildMutate() { ThreadFactory factory1 = builder.setPriority(1).build();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
} private void assertGood(String spec) throws ParseException { // Throws exception if not working correctly HostSpecifier unused = HostSpecifier.fromValid(spec); unused = HostSpecifier.from(spec); assertTrue(HostSpecifier.isValid(spec)); } private void assertBad(String spec) { try { HostSpecifier.fromValid(spec);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
/// tip Some editors check for unused function parameters, and show them as errors. Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors. It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary. /// /// info
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.9K bytes - Viewed (0)