Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5971 - 5980 of 7,736 for Rand (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            shareInfo1.encode(mockNdrBuffer);
    
            // Verify the encode operations
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer, times(2)).enc_ndr_referent(null, 1); // Called twice for netname and remark
            verify(mockNdrBuffer).enc_ndr_long(0);
            // Should not encode strings if fields are null
            verify(mockDeferredBuffer, never()).enc_ndr_string(anyString());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static com.google.common.collect.testing.Helpers.getMethod;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

            void setUp() {
                mockConfig = mock(Configuration.class);
                when(mockConfig.getPid()).thenReturn(12345);
            }
    
            @Test
            @DisplayName("Should initialize with correct command and MID")
            void testConstructorInitialization() throws Exception {
                // Given
                int testMid = 42;
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.lock.Smb2Lock;
    import jcifs.internal.smb2.lock.Smb2LockRequest;
    
    /**
     * Test class for RequestWithFileId interface.
     * Tests the interface contract and various implementations.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("RequestWithFileId Interface Tests")
    class RequestWithFileIdTest {
    
        @Mock
        private Configuration mockConfig;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            setFieldValue(response, "wordCount", 0);
    
            byte[] buffer = new byte[256];
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            // Should return 0 and not read any data
            assertEquals(0, bytesRead);
            assertEquals(0, response.getAttributes());
            assertEquals(0, response.getSize());
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        }
    
        /**
         * Test that search attributes are set correctly
         */
        @Test
        @DisplayName("Test search attributes include HIDDEN, SYSTEM, and DIRECTORY")
        public void testSearchAttributesValue() throws Exception {
            // Given
            smbComRename = new SmbComRename(config, "old.txt", "new.txt");
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/UniAddressTest.java

            void shouldThrowIllegalArgumentExceptionForNullAddress() {
                assertThrows(IllegalArgumentException.class, () -> new UniAddress(null));
            }
        }
    
        @Nested
        @DisplayName("hashCode and equals tests")
        class HashCodeAndEqualsTests {
    
            private InetAddress inetAddress1;
            private InetAddress inetAddress2;
            private NbtAddress nbtAddress1;
            private NbtAddress nbtAddress2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

     * software distributed under the License is distributed on an
     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top