Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for parseFile (0.07 sec)

  1. cmd/sftp-server.go

    	}
    
    	private, err := ssh.ParsePrivateKey(privateBytes)
    	if err != nil {
    		logger.Fatal(fmt.Errorf("invalid arguments passed, private key file is not parseable: %v", err), "unable to start SFTP server")
    	}
    
    	if userCaKeyFile != "" {
    		keyBytes, err := os.ReadFile(userCaKeyFile)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            } catch (ToolchainsBuildingException e) {
                assertEquals(
                        "1 problem was encountered while building the effective toolchains" + LS
                                + "[FATAL] Non-parseable toolchains (memory): MESSAGE @ line 4, column 2" + LS,
                        e.getMessage());
            }
        }
    
        @Test
        void testIOException() throws Exception {
            Source src = mock(Source.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Empty",
    			args: args{ports: []string{}},
    			want: []string{},
    		},
    		{
    			name: "Non-parseable",
    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. istioctl/pkg/analyze/analyze.go

    		"The duration to wait before failing")
    	analysisCmd.PersistentFlags().BoolVar(&ignoreUnknown, "ignore-unknown", false,
    		"Don't complain about un-parseable input documents, for cases where analyze should run only on k8s compliant inputs.")
    	analysisCmd.PersistentFlags().StringVarP(&revisionSpecified, "revision", "", "default",
    		"analyze a specific revision deployed.")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    //		{Offset: 7,  Length: 11}, // Hole fragment for 7..17
    //		{Offset: 21, Length: 4},  // Hole fragment for 21..24
    //	}
    //
    // Then the content of the resulting sparse file with a Header.Size of 25 is:
    //
    //	var sparseFile = "\x00"*2 + "abcde" + "\x00"*11 + "fgh" + "\x00"*4
    type (
    	sparseDatas []sparseEntry
    	sparseHoles []sparseEntry
    )
    
    // validateSparseEntries reports whether sp is a valid sparse map.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. cmd/iam.go

    	spolicyStr, ok := spolicy.(string)
    	if !ok {
    		// Sub policy if set, should be a string reject
    		// malformed/malicious requests.
    		return
    	}
    
    	// Check if policy is parseable.
    	subPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(spolicyStr)))
    	if err != nil {
    		// Log any error in input session policy config.
    		iamLogIf(GlobalContext, err)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    }
                }
            } catch (ModelParseException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.FATAL, ModelProblem.Version.BASE)
                        .setMessage("Non-parseable POM " + modelSource.getLocation() + ": " + e.getMessage())
                        .setException(e));
                throw problems.newModelBuildingException();
            } catch (IOException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg go/parser, const Trace Mode
    pkg go/parser, func ParseDir(*token.FileSet, string, func(os.FileInfo) bool, Mode) (map[string]*ast.Package, error)
    pkg go/parser, func ParseExpr(string) (ast.Expr, error)
    pkg go/parser, func ParseFile(*token.FileSet, string, interface{}, Mode) (*ast.File, error)
    pkg go/parser, type Mode uint
    pkg go/printer, const RawFormat Mode
    pkg go/printer, const SourcePos Mode
    pkg go/printer, const TabIndent Mode
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

              <code>
                <![CDATA[
        public static final String SOURCE_POM = "pom";
    
        public static final String SOURCE_SETTINGS = "settings.xml";
    
        // We don't want this to be parseable...it's sort of 'hidden'
        // default source for this profile is in the pom itself.
        private String source = SOURCE_POM;
    
        public void setSource(String source) {
            this.source = source;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  10. test-site/activator-launch-1.3.2.jar

    interface Repository$Repository extends xsbti.Repository { public abstract boolean bootOnly(); } xsbt/boot/ParseLine$.class package xsbt.boot; public final synchronized class ParseLine$ { public static final ParseLine$ MODULE$; public static void <clinit>(); public final scala.collection.immutable.List apply(String, int); private static void check$1(boolean, int, String, String, int); private void ParseLine$(); } xsbt/boot/Pre$$anonfun$getJars$1.class package xsbt.boot; public final synchronized class Pr...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top