Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for setPrefix (0.17 sec)

  1. lib/time/mkzip.go

    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-metadata/src/main/mdo/metadata.mdo

                    mappedPlugin.setArtifactId( plugin.getArtifactId() );
    
                    mappedPlugin.setPrefix( plugin.getPrefix() );
    
                    mappedPlugin.setName( plugin.getName() );
    
                    addPlugin( mappedPlugin );
    
                    changed = true;
                }
            }
    
            Versioning versioning = sourceMetadata.getVersioning();
            if ( versioning != null )
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 11 14:06:34 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    setOutput(java.io.OutputStream, String) throws java.io.IOException; public void startDocument(String, Boolean) throws java.io.IOException; public void endDocument() throws java.io.IOException; public void setPrefix(String, String) throws java.io.IOException; protected String lookupOrDeclarePrefi(String); public String getPrefix(String, boolean); private String generatePrefix(String); public int getDepth(); public String getNamespace(); public String getName(); public XmlSerializer startTag(String, String) throws...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/rule.go

    func (r Rule) validateNoncurrentTransition() error {
    	return r.NoncurrentVersionTransition.Validate()
    }
    
    // GetPrefix - a rule can either have prefix under <rule></rule>, <filter></filter>
    // or under <filter><and></and></filter>. This method returns the prefix from the
    // location where it is available.
    func (r Rule) GetPrefix() string {
    	if p := r.Prefix.String(); p != "" {
    		return p
    	}
    	if p := r.Filter.Prefix.String(); p != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), prefixQuery.getField());
            final String text = prefixQuery.getPrefix().text();
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text + "*");
                context.addHighlightedQuery(text);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadata.java

                LinkedHashMap<String, Plugin> mergedPlugins = new LinkedHashMap<>();
                recessivePlugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                plugins.forEach(p -> mergedPlugins.put(p.getPrefix(), p));
                metadata = metadata.withPlugins(mergedPlugins.values());
            }
            // just carry-on as-is
            if (recessive.getVersioning() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    	}
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    
    		if len(prefix) > 0 && len(rule.GetPrefix()) > 0 {
    			// we can skip this rule if it doesn't match the tested
    			// prefix.
    			if !strings.HasPrefix(prefix, rule.GetPrefix()) && !strings.HasPrefix(rule.GetPrefix(), prefix) {
    				continue
    			}
    		}
    
    		if rule.NoncurrentVersionExpiration.NoncurrentDays > 0 {
    			return true
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/platform/PlatformTest.kt

      @Test
      fun alwaysBuilds() {
        Platform()
      }
    
      /** Guard against the default value changing by accident.  */
      @Test
      fun defaultPrefix() {
        assertThat(Platform().getPrefix()).isEqualTo("OkHttp")
      }
    
      @Test
      fun testToStringIsClassname() {
        assertThat(Platform().toString()).isEqualTo("Platform")
      }
    
      @Test
      fun testNotAndroid() {
        platform.assumeNotAndroid()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/listener.go

    	}
    	return strings.Join(routes, ", ")
    }
    
    func describeMatch(match *route.RouteMatch) string {
    	conds := []string{}
    	if match.GetPrefix() != "" {
    		conds = append(conds, fmt.Sprintf("%s*", match.GetPrefix()))
    	}
    	if match.GetPathSeparatedPrefix() != "" {
    		conds = append(conds, fmt.Sprintf("PathPrefix:%s", match.GetPathSeparatedPrefix()))
    	}
    	if match.GetPath() != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         */
        String DEFAULT_SELF_COMBINATION_MODE = SELF_COMBINATION_MERGE;
    
        @Nonnull
        String getName();
    
        @Nonnull
        String getNamespaceUri();
    
        @Nonnull
        String getPrefix();
    
        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top