- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 842 for ptwo (0.09 seconds)
-
tensorflow/c/c_api_test.cc
TF_Graph* graph = TF_NewGraph(); // Make two scalar constants. TF_Operation* one = ScalarConst(1, graph, s, "one"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_Operation* two = ScalarConst(2, graph, s, "two"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Add oper. TF_Operation* add = Add(one, two, graph, s, "add"); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
} @Test public void testUnicodeEncoding() { // Test Unicode string encoding String msg = "\u00A1\u00A2"; // two Unicode characters byte[] encoded = encodeUnicode(msg); assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes"); // Verify little-endian encodingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
void returnsFour_whenStructureSizeIsFour(int start) throws Exception { // Arrange: build a buffer that has the little-endian value 4 at 'start' int len = start + 2; // need at least two bytes from start byte[] buffer = new byte[len + 3]; SMBUtil.writeInt2(4, buffer, start); Smb2LogoffResponse resp = newResponse(); // Act
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java
import org.apache.maven.api.annotations.Nonnull; /** * <p>In Maven, repositories are locations where project artifacts (such as JAR files, POM files, and other * resources) are stored and retrieved. There are two primary types of repositories: * {@linkplain LocalRepository local repositories} and * {@linkplain RemoteRepository remote repositories}.</p> * * <h2>Repository Resolution Process</h2> *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListTest.java
return wrap(delegate); } }); } public void testEquals() { List<String> list1 = ImmutableList.of("one"); List<String> list2 = ImmutableList.of("two"); new EqualsTester() .addEqualityGroup(list1, wrap(list1), wrap(list1)) .addEqualityGroup(list2, wrap(list2)) .testEquals(); } private static <T> List<T> wrap(List<T> delegate) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
} }); } public void testEquals() { SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one"); SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two"); new EqualsTester() .addEqualityGroup(set1, wrap(set1), wrap(set1)) .addEqualityGroup(set2, wrap(set2)) .testEquals(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
* * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code), * or extract a variable, and put the suppression on that. However, a local variable typically
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingListTest.java
return wrap(delegate); } }); } public void testEquals() { List<String> list1 = ImmutableList.of("one"); List<String> list2 = ImmutableList.of("two"); new EqualsTester() .addEqualityGroup(list1, wrap(list1), wrap(list1)) .addEqualityGroup(list2, wrap(list2)) .testEquals(); } private static <T> List<T> wrap(List<T> delegate) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullnessCasts.java
* * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either * add the suppression to the whole method (which turns off checking for a large section of code), * or extract a variable, and put the suppression on that. However, a local variable typically
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 20:49:47 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
void testWriteParameterWordsZeroUTime() { SmbComClose close = new SmbComClose(42, 0L); byte[] buffer = new byte[6]; close.writeParameterWordsWireFormat(buffer, 0); // first two bytes encode fid 42 assertEquals((byte) 42, buffer[0]); assertEquals((byte) 0, buffer[1]); // remaining 4 bytes should all be 0xFF according to writeUTime for (int i = 2; i < 6; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0)