Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 841 for Output (0.17 sec)

  1. internal/logger/target/console/console.go

    	msg := color.RedBold(entry.Trace.Message)
    	output := fmt.Sprintf("\n%s\n%s%s%s%s%s%s\nError: %s%s\n%s",
    		apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent,
    		msg, tagString, strings.Join(trace, "\n"))
    
    	fmt.Fprintln(c.output, output)
    	return nil
    }
    
    // New initializes a new logger target
    // which prints log directly in the standard
    // output.
    func New(w io.Writer) *Target {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/statement.go

    		if err != nil {
    			return nil, err
    		}
    
    		// Pick output column names
    		if expr.As != "" {
    			output, err = output.Set(expr.As, v)
    		} else if comp, ok := getLastKeypathComponent(expr.Expression); ok {
    			output, err = output.Set(comp, v)
    		} else {
    			output, err = output.Set(fmt.Sprintf("_%d", i+1), v)
    		}
    		if err != nil {
    			return nil, err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                throw new SmbException("Already closed");
            }
    
            if ( this.output != null ) {
                return this.output;
            }
    
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                this.output = new SmbPipeOutputStream(this, th);
            }
            return this.output;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  4. internal/logger/console.go

    			// Print banner with or without the log tag
    			if !tagPrinted {
    				fmt.Fprint(Output, logBanner)
    				tagPrinted = true
    			} else {
    				fmt.Fprint(Output, emptyBanner)
    			}
    			// Restore the text color of the error message
    			ansiRestoreAttributes()
    			ansiMoveRight(bannerWidth)
    			// Continue  error message printing
    			fmt.Fprintln(Output, line)
    			break
    		}
    	}
    
    	// Exit because this is a fatal error message
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

        return buffer.capacity() - buffer.limit();
      }
    
      /**
       * Flips the buffer output buffer so we can start reading bytes from it. If we are starting to
       * drain because there was overflow, and there aren't actually any characters to drain, then the
       * overflow must be due to a small output buffer.
       */
      private void startDraining(boolean overflow) {
        Java8Compatibility.flip(byteBuffer);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  7. misc/go_android_exec/exitcode_test.go

    		if err == nil || !wantErr.MatchString(err.Error()) {
    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate.go

    	objects.Sort(object.DefaultObjectOrder())
    	for _, obj := range objects {
    		yml, err := obj.YAML()
    		if err != nil {
    			return nil, err
    		}
    		output = append(output, string(yml))
    	}
    
    	return output, nil
    }
    
    // RenderToDir writes manifests to a local filesystem directory tree.
    func RenderToDir(manifests name.ManifestMap, outputDir string, dryRun bool, l clog.Logger) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/writer_test.go

    		})
    	}
    }
    
    func checkOutput(t *testing.T, output string, expected, unexpected []string) {
    	t.Helper()
    	for _, expected := range expected {
    		if !strings.Contains(output, expected) {
    			t.Errorf("expected %s included in writer output, did not find", expected)
    		}
    	}
    	for _, unexpected := range unexpected {
    		if strings.Contains(output, unexpected) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental_test.cc

      TF_Operation* neg = Neg(feed, func_graph.get(), s.get());
    
      TF_Output inputs[] = {{feed, 0}};
      TF_Output outputs[] = {{neg, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1,
                                 /*opers=*/nullptr, 1, inputs, 1, outputs,
                                 /*output_names=*/nullptr,
                                 /*opts=*/nullptr, description, s.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
Back to top