text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupConfigurer.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupConfigurer.java", "lice... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupView.java
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupView.java", "license": ... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupViewResolver.java
/*
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/GroovyMarkupViewResolver.java", "li... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/package-info.java
/**
* Support classes for the integration of
* <a href="http://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html#_the_markuptemplateengine">
* Groovy Templates</a> as Spring web view technology.
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/groovy/package-info.java", "license": "apa... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/AbstractJackson2View.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/AbstractJackson2View.java", "license"... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java", "licen... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/package-info.java
/**
* Support classes for providing a View implementation based on JSON serialization.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.servlet.view.json;
import org.springframework.lang.NonNullApi;
import ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/package-info.java", "license": "apach... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/package-info.java
/**
* Provides standard View and ViewResolver implementations,
* including abstract base classes for custom implementations.
*
* <p>Application developers don't usually need to implement views,
* as the framework provides ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/package-info.java", "license": "apache-2.0... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/RenderingContext.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/RenderingContext.java", "license": ... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateConfig.java
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateConfig.java", "licens... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateConfigurer.java
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateConfigurer.java", "li... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateView.java
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateView.java", "license"... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateViewResolver.java
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/ScriptTemplateViewResolver.java", "... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/package-info.java
/**
* Support classes for views based on the JSR-223 script engine abstraction
* (as included in Java 6+), e.g. using JavaScript via Nashorn on JDK 8.
* Contains a View implementation for scripted templates.
*/
@NonN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/script/package-info.java", "license": "apa... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/AbstractSpringPreparerFactory.java
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/AbstractSpringPreparerFactory.java"... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SimpleSpringPreparerFactory.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SimpleSpringPreparerFactory.java", ... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringBeanPreparerFactory.java
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringBeanPreparerFactory.java", "l... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringLocaleResolver.java
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringLocaleResolver.java", "licens... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringWildcardServletTilesApplicationContext.java
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/SpringWildcardServletTilesApplicati... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/TilesConfigurer.java
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/TilesConfigurer.java", "license": "... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/TilesView.java
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/TilesView.java", "license": "apache... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/TilesViewResolver.java
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/TilesViewResolver.java", "license":... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/package-info.java
/**
* Support classes for the integration of
* <a href="https://tiles.apache.org">Tiles 3</a>
* (the standalone version of Tiles) as Spring web view technology.
* Contains a View implementation for Tiles definitions.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3/package-info.java", "license": "apa... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/xml/MappingJackson2XmlView.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/xml/MappingJackson2XmlView.java", "license... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/xml/MarshallingView.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/xml/MarshallingView.java", "license": "apa... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/xml/package-info.java
/**
* Support classes for providing a View implementation based on XML Marshalling.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.servlet.view.xml;
import org.springframework.lang.NonNullApi;
import org.s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/xml/package-info.java", "license": "apache... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/xslt/XsltView.java
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/xslt/XsltView.java", "license": "apache-2.... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/xslt/XsltViewResolver.java
/*
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/xslt/XsltViewResolver.java", "license": "a... |
### File: spring-webmvc/src/main/java/org/springframework/web/servlet/view/xslt/package-info.java
/**
* Support classes for XSLT,
* providing a View implementation for XSLT stylesheets.
*/
@NonNullApi
@NonNullFields
package org.springframework.web.servlet.view.xslt;
import org.springframework.lang.NonNullApi;
impor... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/java/org/springframework/web/servlet/view/xslt/package-info.java", "license": "apach... |
### File: spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/RouterFunctionDsl.kt
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/RouterFunctionDsl.kt", "license": ... |
### File: spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/ServerRequestExtensions.kt
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/ServerRequestExtensions.kt", "lice... |
### File: spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/ServerResponseExtensions.kt
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/ServerResponseExtensions.kt", "lic... |
### File: spring-webmvc/src/main/resources/org/springframework/web/servlet/view/freemarker/spring.ftl
<#ftl output_format="HTML" strip_whitespace=true>
<#--
* spring.ftl
*
* This file consists of a collection of FreeMarker macros aimed at easing
* some of the common requirements of web applications - in particular
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Fluent", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/main/resources/org/springframework/web/servlet/view/freemarker/spring.ftl", "license": ... |
### File: spring-webmvc/src/test/java/org/springframework/context/ACATester.java
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/context/ACATester.java", "license": "apache-2.0", "size": 1... |
### File: spring-webmvc/src/test/java/org/springframework/context/BeanThatBroadcasts.java
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/context/BeanThatBroadcasts.java", "license": "apache-2.0", ... |
### File: spring-webmvc/src/test/java/org/springframework/context/BeanThatListens.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/context/BeanThatListens.java", "license": "apache-2.0", "si... |
### File: spring-webmvc/src/test/java/org/springframework/context/LifecycleContextBean.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/context/LifecycleContextBean.java", "license": "apache-2.0"... |
### File: spring-webmvc/src/test/java/org/springframework/web/context/ServletConfigAwareBean.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/context/ServletConfigAwareBean.java", "license": "apach... |
### File: spring-webmvc/src/test/java/org/springframework/web/context/ServletContextAwareBean.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/context/ServletContextAwareBean.java", "license": "apac... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/ComplexWebApplicationContext.java
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/ComplexWebApplicationContext.java", "license": ... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/SimpleWebApplicationContext.java
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/SimpleWebApplicationContext.java", "license": "... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/resource/GzipSupport.java
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/resource/GzipSupport.java", "license": "apache-... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/support/MockFilterRegistration.java
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/support/MockFilterRegistration.java", "license"... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/support/MockServletRegistration.java
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/support/MockServletRegistration.java", "license... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/support/RequestDataValueProcessorWrapper.java
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/support/RequestDataValueProcessorWrapper.java",... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/Country.java
/*
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/Country.java", "license": "apache-2.0... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/ItemPet.java
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/ItemPet.java", "license": "apache-2.0... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/SimpleFloatEditor.java
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/SimpleFloatEditor.java", "license": "... |
### File: spring-webmvc/src/test/java/org/springframework/web/servlet/view/DummyMacroRequestContext.java
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/java/org/springframework/web/servlet/view/DummyMacroRequestContext.java", "license":... |
### File: spring-webmvc/src/test/kotlin/org/springframework/web/servlet/function/RouterFunctionDslTests.kt
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/kotlin/org/springframework/web/servlet/function/RouterFunctionDslTests.kt", "licen... |
### File: spring-webmvc/src/test/kotlin/org/springframework/web/servlet/function/ServerRequestExtensionsTests.kt
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/kotlin/org/springframework/web/servlet/function/ServerRequestExtensionsTests.kt", ... |
### File: spring-webmvc/src/test/kotlin/org/springframework/web/servlet/function/ServerResponseExtensionsTests.kt
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/kotlin/org/springframework/web/servlet/function/ServerResponseExtensionsTests.kt",... |
### File: spring-webmvc/src/test/kotlin/org/springframework/web/servlet/mvc/method/annotation/ServletAnnotationControllerHandlerMethodKotlinTests.kt
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/kotlin/org/springframework/web/servlet/mvc/method/annotation/ServletAnnotationCont... |
### File: spring-webmvc/src/test/kotlin/org/springframework/web/servlet/view/script/ScriptTemplateWithBindingsExtensions.kt
@file:Suppress("UNCHECKED_CAST")
package org.springframework.web.servlet.view.script
import kotlin.script.templates.standard.ScriptTemplateWithBindings
fun ScriptTemplateWithBindings.include(pa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/kotlin/org/springframework/web/servlet/view/script/ScriptTemplateWithBindingsExten... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/config/annotation/WEB-INF/index.ftl
<html><body>${hello}</body></html> | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "FreeMarker", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/config/annotation/WEB-INF/index.ftl"... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/config/annotation/WEB-INF/index.jsp
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Conte... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java Server Pages", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/config/annotation/WEB-INF/ind... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/config/annotation/WEB-INF/index.tpl
html { body(hello) } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/config/annotation/WEB-INF/index.tpl", "l... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/config/annotation/testStylesheet.css
test stylesheet content | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/config/annotation/testStylesheet.css", "lic... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/bar.css
h2 { color:white; } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/bar.css", "license": "apache-... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/empty_url_function.css
.fooStyle {
background: transparent url() no-repeat left top;
} | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/empty_url_function.css", "lic... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/external.css
@import url("https://example.org/fonts/css");
body { background: url("file:///home/spring/image.png") }
figure { background: url("//example.org/style.css")} | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/external.css", "license": "ap... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/foo-bar/foo-bar.css
h2 { color:white; } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/foo-bar/foo-bar.css", "licens... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/foo.css
h1 { color:red; } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/foo.css", "license": "apache-... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/foo.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Foo</title>
</head>
<body>
<... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "HTML", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/foo.html", "license": "apach... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/js/bar.js
function foo() { console.log("hello bar"); } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/js/bar.js", "license":... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/js/foo.js
function foo() { console.log("hello world"); } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/js/foo.js", "license":... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/main.css
@import url("bar.css?#iefix");
@import url('bar.css#bla-normal');
@import url(bar.css);
@import "foo.css";
@import 'foo.css';
body { background: url("images/image.png?#iefix") }
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/test/main.css", "license": "apache... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/bar.css
fail | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/bar.css", "licen... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/baz.css
h1 { color:red; } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/baz.css", "licen... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/foo.css
fail | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/foo.css", "licen... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/js/bar.js
fail | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/js/bar.js... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/js/baz.js
function foo() { console.log("hello world"); } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/js/baz.js... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/js/foo.js
fail | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/resource/testalternatepath/js/foo.js... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/freemarker/test.ftl
<#--
test template for FreeMarker macro test class
-->
<#import "spring.ftl" as spring />
NAME
${command.name}
AGE
${command.age}
MESSAGE
<@spring.message "hello"/> <@spring.message "world"/>
DEFAULTMESSAGE
<@spring.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Fluent", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/freemarker/test.ftl", "license": "a... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/content.tpl
layout 'layout-main.tpl',
title: 'Layout example',
bodyContents: contents { p('This is the body') } | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/content.tpl", "license": "ap... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/i18n.tpl
p('Hello Spring') | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/i18n.tpl", "license": "apach... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/i18n_de_DE.tpl
include template: 'includes/include.tpl'
p('Hallo Spring') | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/i18n_de_DE.tpl", "license": ... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/i18n_es.tpl
include template: 'includes/include.tpl'
p('Hola Spring') | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/i18n_es.tpl", "license": "ap... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/i18n_fr.tpl
p('Bonjour Spring') | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/i18n_fr.tpl", "license": "ap... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/includes/include.tpl
p('Include Default') | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/includes/include.tpl", "lice... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/includes/include_de_DE.tpl
p('Include German') | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/includes/include_de_DE.tpl",... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/layout-main.tpl
html {
head {
title(title)
}
body {
bodyContents()
}
} | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/layout-main.tpl", "license":... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/test.tpl
yieldUnescaped '<!DOCTYPE html>'
html {
head {
meta('http-equiv':'"Content-Type", content="text/html; charset=utf-8"')
title('Spring Framework Groovy Template Support')
}
body {
div(class:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Smarty", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/test.tpl", "license": "apach... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/jruby/render.rb
require 'erb'
require 'ostruct'
require 'java'
# Renders an ERB template against a hashmap of variables.
def render(template, variables, renderingContext)
context = OpenStruct.new(variables).instance_eval do
va... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Ruby", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/jruby/render.rb", "license": "... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/jruby/template.erb
<html><head><title><%= title %></title></head><body><p><%= body %></p></body></html> | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "HTML+ERB", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/jruby/template.erb", "lice... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/jython/render.py
from string import Template
def render(template, model, renderingContext):
s = Template(template)
return s.substitute(model) | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/jython/render.py", "license"... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/jython/template.html
<html><head><title>$title</title></head><body><p>$body</p></body></html> | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "HTML", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/jython/template.html", "licens... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/eval.kts
// TODO Improve syntax when KT-15125 will be fixed
"""${bindings["header"]}
<p>${bindings["hello"]} ${bindings["foo"]}</p>
${bindings["footer"]}"""
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/eval.kts", "license":... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/footer.html
</body></html> | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "HTML", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/footer.html", "license"... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/header.html
<html><body> | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "HTML", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/header.html", "license"... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/render.kts
import javax.script.*
import org.springframework.web.servlet.view.script.RenderingContext
import org.springframework.context.support.ResourceBundleMessageSource
import org.springframework.beans.factory.getBean
fun ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/render.kts", "license... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/template.kts
import org.springframework.web.servlet.view.script.*
"""${include("header") }
<p>${i18n("hello")} $foo</p>
${include("footer")}"""
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Kotlin", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/kotlin/template.kts", "licen... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/nashorn/render.js
function render(template, model) {
return template.replace("{{title}}", model.title).replace("{{body}}", model.body);
}
function renderWithUrl(template, model, renderingContext) {
return template.replace("{... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/nashorn/render.js", "lic... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/nashorn/template.html
<html><head><title>{{title}}</title></head><body><p>{{body}}</p></body></html> | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "HTML", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/script/nashorn/template.html", "licen... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/dummyData.xsl
<products/> | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "XSLT", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/dummyData.xsl", "license": "apac... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/errors.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- invalid template - should not be loaded by TransformerFactory -->
<xsl:template match="/">
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "XSLT", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/errors.xsl", "license": "apache-... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/firstWords.xsl
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" omit-xml-declaration="yes"/>
<xsl:template match="/">
<html>
<head... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "XSLT", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/firstWords.xsl", "license": "apa... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/products.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="productsImport.xsl"/>
<xsl:output method="xml" indent="yes" media-type="text/html... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "XSLT", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/products.xsl", "license": "apach... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/productsImport.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" media-type="text/html"/>
<xsl:param name="title"/>
<xs... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "XSLT", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/productsImport.xsl", "license": ... |
### File: spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/sunnyDay.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" omit-xml-declaration="yes"/>
<xsl:param name="sex">Female</xsl:param>
<x... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "XSLT", "repo_name": "vincentjava/spring-framework", "path": "spring-webmvc/src/test/resources/org/springframework/web/servlet/view/xslt/sunnyDay.xsl", "license": "apach... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.