Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 113 for formatting (0.13 sec)

  1. istioctl/pkg/tag/tag.go

    		if msg.Resource.Metadata.FullName.Name == resource.LocalName(name) {
    			relevantMessages = append(relevantMessages, msg)
    		}
    	}
    	if len(relevantMessages) > 0 {
    		o, err := formatting.Print(relevantMessages, formatting.LogFormat, false)
    		if err != nil {
    			return err
    		}
    		// nolint
    		return fmt.Errorf("creating tag would conflict, pass --skip-confirmation to proceed:\n%v\n", o)
    	}
    	return nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 15:40:30 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. istioctl/pkg/util/formatting/msg_threshold.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package formatting
    
    import (
    	"errors"
    	"strings"
    
    	"istio.io/istio/pkg/config/analysis/diag"
    )
    
    // MessageThreshold is a wrapper around Level to be used as a cobra command line argument.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. .github/workflows/release-branch-cherrypick.yml

        steps:
        - name: Checkout code
          uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
          with:
            ref: ${{ github.event.inputs.release_branch }}
        - name: Get some helpful info for formatting
          id: cherrypick
          run: |
              git config --global user.name "TensorFlow Release Automation"
              git config --global user.email "******@****.***"
              git fetch origin master
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_tensor_handle.h

      std::string DebugString() const override;
    
      // Returns a Boolean hint indicating whether callers should prefer
      // `SummarizeValue` to resolving this handle and formatting the tensor.
      //
      // For example some tensor handles may represent distributed values, in which
      // case placement information is lost when resolving the handle.
      //
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    		return nil, err
    	}
    
    	// All disks report unformatted we should initialized everyone.
    	if shouldInitErasureDisks(sErrs) && firstDisk {
    		logger.Info("Formatting %s pool, %v set(s), %v drives per set.",
    			humanize.Ordinal(poolCount), setCount, setDriveCount)
    
    		// Initialize erasure code format on disks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  6. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(false, 0, 8, TYPE_GOAWAY, FLAG_NONE))
          .isEqualTo(">> 0x00000000     8 GOAWAY        ")
      }
    
      /** Window update frames have special formatting.  */
      @Test
      fun windowUpdateFrames() {
        assertThat(frameLogWindowUpdate(false, 0, 4, Int.MAX_VALUE.toLong()))
          .isEqualTo(">> 0x00000000     4 WINDOW_UPDATE 2147483647")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. istioctl/pkg/util/formatting/formatter_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package formatting
    
    import (
    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/url"
    )
    
    func TestFormatter_PrintLog(t *testing.T) {
    	g := NewWithT(t)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          if (expected != actual && (expected == null || !expected.equals(actual))) {
            fail("mismatch at index " + i + ": " + reportContext(expectedList));
          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
        return Platform.format(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    		got := make([]byte, len(v.want))
    		f.formatNumeric(got, v.in)
    		ok := (f.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("formatNumeric(%d): got formatting failure, want success", v.in)
    			} else {
    				t.Errorf("formatNumeric(%d): got formatting success, want failure", v.in)
    			}
    		}
    		if string(got) != v.want {
    			t.Errorf("formatNumeric(%d): got %q, want %q", v.in, got, v.want)
    		}
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

      public void run() throws Exception {
        Map<String, String> requestBody = new LinkedHashMap<>();
        requestBody.put("longUrl", "https://publicobject.com/2014/12/04/html-formatting-javadocs/");
        RequestBody jsonRequestBody = RequestBody.create(
            mapJsonAdapter.toJson(requestBody), MEDIA_TYPE_JSON);
        Request request = new Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 3.8K bytes
    - Viewed (0)
Back to top