Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for REPLACE (0.04 sec)

  1. callbacks.go

    }
    
    func (p *processor) Remove(name string) error {
    	return (&callback{processor: p}).Remove(name)
    }
    
    func (p *processor) Replace(name string, fn func(*DB)) error {
    	return (&callback{processor: p}).Replace(name, fn)
    }
    
    func (p *processor) compile() (err error) {
    	var callbacks []*callback
    	removedMap := map[string]bool{}
    	for _, callback := range p.callbacks {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/RelationshipTester.java

        if (!condition) {
          throw new AssertionFailedError(
              template
                  .replace("$RELATIONSHIP", relationshipName)
                  .replace("$HASH", hashName)
                  .replace("$ITEM", itemReporter.reportItem(item))
                  .replace("$OTHER", itemReporter.reportItem(other)));
        }
      }
    
      private Item<T> getItem(int groupNumber, int itemNumber) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Rest of bytes are already 0
    
            info502.security_descriptor = securityDescriptorBytes;
            info502.sd_size = securityDescriptorBytes.length;
    
            // Replace info field
            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
            infoField.setAccessible(true);
            infoField.set(msrpcShareGetInfo, info502);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                            result = result.replace("${" + key + "}", String.valueOf(value));
                        } else if (value instanceof TestUser) {
                            // Handle TestUser object
                            TestUser user = (TestUser) value;
                            result = result.replace("${" + key + ".name}", user.name);
                            result = result.replace("${" + key + ".age}", String.valueOf(user.age));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/audit/SecurityAuditLogger.java

            if (value == null) {
                return "";
            }
            return value.replace("\\", "\\\\")
                    .replace("\"", "\\\"")
                    .replace("\b", "\\b")
                    .replace("\f", "\\f")
                    .replace("\n", "\\n")
                    .replace("\r", "\\r")
                    .replace("\t", "\\t");
        }
    
        private void logAsText(AuditEntry entry) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            // Create empty DfsEnumArray200
            netdfs.DfsEnumArray200 emptyArray = new netdfs.DfsEnumArray200();
            emptyArray.count = 0;
            emptyArray.s = new netdfs.DfsInfo200[0];
    
            // Replace the info.e field with our empty array
            setDfsEnumArray(dfsRootEnum, emptyArray);
    
            // Test getEntries returns empty array
            FileEntry[] entries = dfsRootEnum.getEntries();
            assertNotNull(entries);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

        if (!condition) {
          throw new AssertionFailedError(
              template
                  .replace("$RELATIONSHIP", relationshipName)
                  .replace("$HASH", hashName)
                  .replace("$ITEM", itemReporter.reportItem(item))
                  .replace("$OTHER", itemReporter.reportItem(other)));
        }
      }
    
      private Item<T> getItem(int groupNumber, int itemNumber) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/PathValidator.java

            }
    
            return false;
        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
            // Replace forward slashes with backslashes for consistency
            String normalized = path.replace('/', '\\');
    
            // Remove duplicate slashes
            normalized = normalized.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's the root
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                    it.remove();
                }
            }
        }
    
        /**
         * Replace all occurances of the given type
         *
         * @param pairs the list of AV pairs to modify
         * @param rep the replacement AV pair
         */
        public static void replace(final List<AvPair> pairs, final AvPair rep) {
            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertTrue(AvPairs.contains(pairs, AvPair.MsvAvTimestamp), "Should still contain MsvAvTimestamp");
        }
    
        /**
         * Test replace method
         */
        @Test
        @DisplayName("Replace should remove old and add new")
        void testReplace() {
            List<AvPair> pairs = new LinkedList<>();
            AvFlags oldFlags1 = new AvFlags(0x11111111);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top