Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for pretty (0.11 sec)

  1. internal/logger/console.go

    	ExitFunc(1)
    }
    
    func (f fatalMsg) quiet(msg string, args ...interface{}) {
    	f.pretty(msg, args...)
    }
    
    var (
    	logTag      = "FATAL"
    	logBanner   = color.BgRed(color.FgWhite(color.Bold(logTag))) + " "
    	emptyBanner = color.BgRed(strings.Repeat(" ", len(logTag))) + " "
    	bannerWidth = len(logTag) + 1
    )
    
    func (f fatalMsg) pretty(msg string, args ...interface{}) {
    	// Build the passed error message
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. .github/workflows/check-bad-merge.yml

            with:
              distribution: 'temurin'
              java-version: '17'
          - name: Install Groovy
            run: sudo apt-get install groovy
          - name: List PR commits
            run: |
              git log --pretty=format:"%H" ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} > pr_commits.txt
          - name: Check PR commits
            id: run_check
            run: |
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

        }
    
        /**
         * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation.
         *
         * See: https://github.com/google/gson/blob/master/UserGuide.md#TOC-Compact-Vs.-Pretty-Printing-for-JSON-Output-Format
         */
        private
        fun adjustIndentation(initalJsonString: String): String {
            val indentationRegex = """^\s+""".toRegex(RegexOption.MULTILINE)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. internal/config/errors-utils.go

    package config
    
    import (
    	"errors"
    	"fmt"
    	"net"
    	"syscall"
    
    	"github.com/minio/minio/internal/color"
    )
    
    // Err is a structure which contains all information
    // to print a fatal error message in json or pretty mode
    // Err implements error so we can use it anywhere
    type Err struct {
    	msg    string
    	detail string
    	action string
    	hint   string
    }
    
    // Clone returns a new Err struct with the same information
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. docs/iam/opa.md

    ### 1. Start OPA in a container
    
    ```sh
    podman run -it \
        --name opa \
        --publish 8181:8181 \
        docker.io/openpolicyagent/opa:0.40.0-rootless \
           run --server \
               --log-format=json-pretty \
               --log-level=debug \
               --set=decision_logs.console=true
    ```
    
    ### 2. Create a sample OPA Policy
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. ci/official/envs/disk_cache

    # Sourcing this enables local disk cache
    if [[ $(uname -s) == "Darwin" ]]; then
      echo "Please note that using disk cache on macOS is not recommended because the"
      echo "cache can end up being pretty big and make the build process inefficient."
    fi
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 1023 bytes
    - Viewed (0)
  7. architecture/networking/pilot.md

        dfc("Default Revision Controller")
    ```
    
    As you can see, the landscape of controllers is pretty extensive at this point.
    
    [Service Discovery](#ServiceDiscovery) and [Config Store](#ConfigStore) were already discussed above, so do not need more explanation here.
    
    #### Mesh Config
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate.go

    	deserializer := codecFactory.UniversalDeserializer()
    	serializer := json.NewSerializerWithOptions(
    		json.DefaultMetaFactory, nil, nil, json.SerializerOptions{
    			Yaml:   true,
    			Pretty: true,
    			Strict: true,
    		})
    
    	whObject, _, err := deserializer.Decode([]byte(validatingWebhookYAML), nil, &admitv1.ValidatingWebhookConfiguration{})
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. go.mod

    	github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
    	github.com/jcmturner/gofork v1.7.6 // indirect
    	github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
    	github.com/jcmturner/rpc/v2 v2.0.3 // indirect
    	github.com/jedib0t/go-pretty/v6 v6.5.9 // indirect
    	github.com/jessevdk/go-flags v1.6.1 // indirect
    	github.com/josharian/intern v1.0.0 // indirect
    	github.com/juju/ratelimit v1.0.2 // indirect
    	github.com/kr/fs v0.1.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. internal/ringbuffer/ring_buffer_benchmark_test.go

    	buf := make([]byte, 512)
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		rb.Write(data)
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncRead(b *testing.B) {
    	// Pretty useless benchmark, but it's here for completeness.
    	rb := New(1024)
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	go func() {
    		for {
    			rb.Read(buf)
    		}
    	}()
    
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top