Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for overwritten (1.21 sec)

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

            void testDecodeZero() throws NdrException {
                // Given: NdrShort and mock returning zero
                NdrShort ndrShort = new NdrShort(100); // Initial value should be overwritten
                when(mockBuffer.dec_ndr_short()).thenReturn(0);
    
                // When: Decoding the value
                ndrShort.decode(mockBuffer);
    
                // Then: Should update value to zero
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

            assertEquals("value1", data.getValues("key")[0]);
    
            // Second operation (overwrite)
            data.putValue("key", "value2");
            assertEquals("value2", data.getValues("key")[0]);
            assertEquals(1, data.getValues("key").length);
    
            // Third operation with array (overwrite)
            data.putValues("key", new String[] { "value3", "value4", "value5" });
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            dataMap.keySet()
                    .stream()
                    .filter(key -> key.endsWith(".overwrite")) //
                    .collect(Collectors.toList())
                    .forEach(key -> {
                        final String baseKey = key.substring(0, key.length() - ".overwrite".length());
                        final Object value = dataMap.remove(key);
                        dataMap.put(baseKey, value);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  4. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            // Second decode - should overwrite previous value
            byte[] buffer2 = new byte[8];
            long indexNumber2 = 0x2222222222222222L;
            SMBUtil.writeInt8(indexNumber2, buffer2, 0);
            fileInternalInfo.decode(buffer2, 0, buffer2.length);
            assertEquals(indexNumber2, fileInternalInfo.getIndexNumber());
    
            // Third decode - should overwrite again
            byte[] buffer3 = new byte[8];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Should not throw
                assertDoesNotThrow(() -> concreteImplementation.replaceCache());
            }
    
            @Test
            @DisplayName("Should overwrite existing cache entry")
            void testReplaceCacheOverwrite() {
                String key = "existing-key";
                DfsReferralDataInternal oldEntry = mock(DfsReferralDataInternal.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbConstants.java

        int FLAGS_TREE_COPY = 0x0020;
    
        // open function
        /**
         * Open function to fail if file exists.
         */
        int OPEN_FUNCTION_FAIL_IF_EXISTS = 0x0000;
        /**
         * Open function to overwrite if file exists.
         */
        int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        /**
         * Share level security mode.
         */
        int SECURITY_SHARE = 0x00;
        /**
         * User level security mode.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         * If file exists, open it. Otherwise create the file
         */
        public static final int FILE_OPEN_IF = 0x3;
        /**
         * If file exists, overwrite it. Otherwise fail
         */
        public static final int FILE_OVERWRITE = 0x4;
        /**
         * If file exists, overwrite it. Otherwise create the file
         */
        public static final int FILE_OVERWRITE_IF = 0x5;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals(data2.getUrl(), data3.getUrl());
            assertEquals(data2.getWeight(), data3.getWeight(), 0.001f);
        }
    
        public void test_overwritingValues() {
            // Test that later values overwrite earlier ones
            RequestData data = RequestDataBuilder.newRequestData()
                    .get()
                    .post()
                    .url("https://first.com")
                    .url("https://second.com")
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(0x1111, response.getSecurityMode(), "First decode security mode");
            assertEquals(0x0210, response.getDialect(), "First decode dialect");
    
            // Second decode - should overwrite values
            byte[] buffer2 = new byte[50];
            SMBUtil.writeInt4(0x22222222, buffer2, 0);
            SMBUtil.writeInt2(0x2222, buffer2, 20);
            SMBUtil.writeInt2(0x0311, buffer2, 22);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Tree copy flag */
        int FLAGS_TREE_COPY = 0x0020;
    
        // open function
        /** Open function fail if exists */
        int OPEN_FUNCTION_FAIL_IF_EXISTS = 0x0000;
        /** Open function overwrite if exists */
        int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        /** Process ID */
        int PID = (int) (Math.random() * 65536d);
    
        /** Share level security */
        int SECURITY_SHARE = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top