- Sort Score
- Num 10 results
- Language All
Results 6451 - 6460 of 7,003 for strong (0.09 seconds)
-
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
void testConstantNamingConvention() { Field[] fields = SecurityInfo.class.getDeclaredFields(); for (Field field : fields) { if (field.getType() == int.class) { String name = field.getName(); // Check that constant names follow UPPER_SNAKE_CASE convention assertTrue(name.matches("[A-Z_]+"), "Constant " + name + " should follow UPPER_SNAKE_CASE convention");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
assertFalse(s1.matches(other)); } @Test void toStringContainsKeyFields() { SmbSession session = new SmbSession(addr, 445, inet, 0, auth); String s = session.toString(); assertTrue(s.contains("accountName="), "toString should contain accountName"); assertTrue(s.contains("primaryDomain="), "toString should contain primaryDomain");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
docs/en/docs/advanced/response-directly.md
Now, let's see how you could use that to return a custom response. Let's say that you want to return an [XML](https://en.wikipedia.org/wiki/XML) response. You could put your XML content in a string, put that in a `Response`, and return it: {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ## How a Response Model Works { #how-a-response-model-works }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
ArithmeticException expected = assertThrows( ArithmeticException.class, () -> MathPreconditions.checkInRangeForRoundingInputs(false, 1.0, RoundingMode.UP)); // b/38490623: The string contains "1.0" under most environment but just "1" under J2CL. assertThat(expected).hasMessageThat().contains("1"); assertThat(expected).hasMessageThat().contains("UP"); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
assertEquals(0, stopwatch.elapsed(MILLISECONDS)); ticker.advance(1); assertEquals(1, stopwatch.elapsed(MILLISECONDS)); } @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported public void testToString() { stopwatch.start(); assertThat(stopwatch.toString()).isEqualTo("0.000 ns"); ticker.advance(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
* public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) { * return isSubtype(list); * } * * @TestSubtype * public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) { * return notSubtype(intList); * } * } * * public void testMySubtypes() throws Exception { * new MySubtypeTests().testAllDeclarations(); * }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
} } else { this.aces = null; } return bufferIndex - start; } @Override public String toString() { StringBuilder ret = new StringBuilder("SecurityDescriptor:\n"); if (this.aces != null) { for (final ACE element : this.aces) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
if (visited.contains(from)) { return; } visited.add(from); List<MetadataGraphEdge> exitList = graph.getExcidentEdges(from); // String s = "|---> "+from.getMd().toString()+" - "+(exitList == null ? -1 : exitList.size()) + " exit links"; if (exitList != null && !exitList.isEmpty()) { for (MetadataGraphEdge e : graph.getExcidentEdges(from)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 7.4K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java
* <code>Maven</code> channels.<br> * There should be no big surprises here, although you may notice that the methods accept * <code>java.lang.CharSequence</code> rather than <code>java.lang.String</code>. This is provided mainly as a * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger, * rather than formatting first by calling <code>toString()</code>. * *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0)