Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 326 for 123 (0.01 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

                if (throwOnEncode) {
                    throw new NdrException("Failed to encode");
                }
                // Simulate some encoding activity on the buffer
                dst.enc_ndr_long(123);
            }
    
            @Override
            public void decode(NdrBuffer src) throws NdrException {
                if (throwOnDecode) {
                    throw new NdrException("Failed to decode");
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. clause/order_by_test.go

    		},
    		{
    			[]clause.Interface{
    				clause.Select{}, clause.From{}, clause.OrderBy{
    					Expression: clause.Expr{SQL: "FIELD(id, ?)", Vars: []interface{}{[]int{1, 2, 3}}, WithoutParentheses: true},
    				},
    			},
    			"SELECT * FROM `users` ORDER BY FIELD(id, ?,?,?)",
    			[]interface{}{1, 2, 3},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

        void setUp() {
            repositorySystem = new TestRepositorySystem();
        }
    
        @Test
        void testCacheKey() throws Exception {
            Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
            @SuppressWarnings("deprecation")
            ArtifactRepository lr1 = new DelegatingLocalArtifactRepository(repositorySystem.createDefaultLocalRepository());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/Collections2Test.java

      }
    
      public void testPermutationSetThreeElements() {
        Iterator<List<Integer>> permutations =
            Collections2.permutations(newArrayList(1, 2, 3)).iterator();
        assertNextPermutation(newArrayList(1, 2, 3), permutations);
        assertNextPermutation(newArrayList(1, 3, 2), permutations);
        assertNextPermutation(newArrayList(3, 1, 2), permutations);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5ContextTest.java

            when(src.export()).thenReturn(buildExportName(new Oid("1.2.3"), "client"));
            when(targ.export()).thenReturn(buildExportName(new Oid("1.2.3"), "service"));
            when(gssContext.getSrcName()).thenReturn(src);
            when(gssContext.getTargName()).thenReturn(targ);
            when(gssContext.getMech()).thenReturn(new Oid("1.2.3"));
    
            assertNull(ctx.searchSessionKey(new javax.security.auth.Subject()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor_validValue() {
            // Test with a value within the byte range
            NdrSmall ndrSmall = new NdrSmall(123);
            assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input.");
        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        }
    
        /**
         * Edge case – constructor using the winerr flag.
         */
        @Test
        @DisplayName("Winerr code 123 – message equals 123")
        void testConstructorWithWinerr() {
            SmbException ex = new SmbException(123, true);
            assertEquals("123", ex.getMessage());
            assertEquals(123, ex.getNtStatus());
        }
    
        /**
         * Parameterised test covering many error codes.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/mime.map

    application/futuresplash       spl              # Macromedia Flash
    application/hep                hep              # Hummingbird Host Explorer Profiles
    application/lotus-123          wks              # Lotus 123
    application/mac-binhex40       hqx              # Macintosh binhexed archives
    application/mspowerpoint       ppt              # Microsoft Powerpoint
    application/msword             doc              # Microsoft Word
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

        testRotate(new int[] {1, 2}, -3, new int[] {2, 1});
        testRotate(new int[] {1, 2}, -1, new int[] {2, 1});
        testRotate(new int[] {1, 2}, -2, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 0, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 1, new int[] {2, 1});
        testRotate(new int[] {1, 2}, 2, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 3, new int[] {2, 1});
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            assertEquals(0, response.deviceState);
            assertEquals(0, response.action);
            assertEquals(0, response.serverFid);
        }
    
        @Test
        void testSetFid() {
            response.fid = 123;
            assertEquals(123, response.fid);
        }
    
        @Test
        void testSetFileAttributes() {
            response.fileAttributes = 0x20; // ATTR_ARCHIVE
            assertEquals(0x20, response.fileAttributes);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top