Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 557 for REPLACE (1.43 sec)

  1. .teamcity/src/main/kotlin/common/JvmVersion.kt

    package common
    
    enum class JvmVersion(
        val major: Int,
    ) {
        JAVA_8(8),
        JAVA_11(11),
        JAVA_17(17),
        JAVA_21(21),
        JAVA_25(25),
        ;
    
        fun toCapitalized(): String = name.replace("_", "").lowercase().toCapitalized()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 05 16:58:51 UTC 2025
    - 856 bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r"),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10"))
      }
    
      @Test
      fun multilineCrLf() {
        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r\n"),
        )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MoreCollectors.java

        }
    
        void add(Object o) {
          checkNotNull(o);
          if (element == null) {
            this.element = o;
          } else if (extras.isEmpty()) {
            // Replace immutable empty list with mutable list.
            extras = new ArrayList<>(MAX_EXTRAS);
            extras.add(o);
          } else if (extras.size() < MAX_EXTRAS) {
            extras.add(o);
          } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-meta-inline.go

    func (x xlMetaInlineData) entries() int {
    	if len(x) == 0 || !x.versionOK() {
    		return 0
    	}
    	sz, _, _ := msgp.ReadMapHeaderBytes(x.afterVersion())
    	return int(sz)
    }
    
    // replace will add or replace a key/value pair.
    func (x *xlMetaInlineData) replace(key string, value []byte) {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	keys := make([][]byte, 0, sz+1)
    	vals := make([][]byte, 0, sz+1)
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

            public boolean remove(Object key, Object value) {
                throw uoe();
            }
    
            @Override
            public boolean replace(K key, V oldValue, V newValue) {
                throw uoe();
            }
    
            @Override
            public V replace(K key, V value) {
                throw uoe();
            }
    
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                    versions[version!!] = date
                }
            }
            return versions
        }
    
    
        private
        fun String.escape() = replace("<", "&lt;").replace(">", "&gt;")
    }
    
    
    private
    typealias Version = String
    
    
    private
    data class IncubatingDescription(val name: String, val sourceRelativePath: Path, val lineNumber: Int)
    
    
    private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jun 02 09:57:54 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/InputStreamUtilTest.java

    public class InputStreamUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetBytes() throws Exception {
            final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class");
            try {
                assertNotNull("1", InputStreamUtil.getBytes(is));
            } finally {
                is.close();
            }
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

                return signature;
            }
    
            public String getUrlFragment(String className) {
                return style == LinkMetaData.Style.Dsldoc ? String.format("%s:%s", className, signature) : signature.replace('(', '-').replace(')', '-');
            }
    
            @Override
            public String toString() {
                return signature;
            }
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 11:17:34 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/moment-with-locales.min.js

    a=parseInt(e,10);{if(a<=49)return 2e3+a;if(a<=999)return 1900+a}return a}(e),je.indexOf(a),parseInt(t,10),parseInt(s,10),parseInt(n,10)];return r&&d.push(parseInt(r,10)),d}function Ta(e){var a,t,s,n,r=fa.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(r){if(a=Da(r[4],r[3],r[2],r[5],r[6],r[7]),t=r[1],s=a,n=e,t&&Ve.indexOf(t)!==new Date(s[0],s[1],s[2]).getDay()&&(L(n).weekdayMismatch=!0,!void(n._isValid=!1)))return;e._a=a,e._tzm=function(e,a,t){if(e)return...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 360.5K bytes
    - Viewed (2)
Back to top