Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 727 for xprintf (0.11 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre class="grammar">
    Function   Behavior
    
    print      prints all arguments; formatting of arguments is implementation-specific
    println    like print but prints spaces between arguments and a newline at the end
    </pre>
    
    <p>
    Implementation restriction: <code>print</code> and <code>println</code> need not
    accept arbitrary argument types, but printing of boolean, numeric, and string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    	// Invalid runes, including negative ones, should be written as
    	// utf8.RuneError.
    	for _, r := range []rune{-1, utf8.MaxRune + 1} {
    		var buf Buffer
    		buf.WriteRune(r)
    		check(t, fmt.Sprintf("TestWriteInvalidRune (%d)", r), &buf, "\uFFFD")
    	}
    }
    
    func TestNext(t *testing.T) {
    	b := []byte{0, 1, 2, 3, 4}
    	tmp := make([]byte, 5)
    	for i := 0; i <= 5; i++ {
    		for j := i; j <= 5; j++ {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. finisher_api.go

    		if !db.DisableNestedTransaction {
    			spID := new(maphash.Hash).Sum64()
    			err = db.SavePoint(fmt.Sprintf("sp%d", spID)).Error
    			if err != nil {
    				return
    			}
    			defer func() {
    				// Make sure to rollback when panic, Block error or Commit error
    				if panicked || err != nil {
    					db.RollbackTo(fmt.Sprintf("sp%d", spID))
    				}
    			}()
    		}
    		err = fc(db.Session(&Session{NewDB: db.clone == 1}))
    	} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. src/archive/zip/writer_test.go

    	}
    
    	want, err := os.ReadFile("testdata/time-go.zip")
    	if err != nil {
    		t.Fatalf("unexpected ReadFile error: %v", err)
    	}
    	if got := buf.Bytes(); !bytes.Equal(got, want) {
    		fmt.Printf("%x\n%x\n", got, want)
    		t.Error("contents of time-go.zip differ")
    	}
    }
    
    func TestWriterOffset(t *testing.T) {
    	largeData := make([]byte, 1<<17)
    	if _, err := rand.Read(largeData); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. tests/joins_test.go

    	}
    }
    
    func TestJoinsPreload_Issue7013(t *testing.T) {
    	manager := &User{Name: "Manager"}
    	DB.Create(manager)
    
    	var userIDs []uint
    	for i := 0; i < 21; i++ {
    		user := &User{Name: fmt.Sprintf("User%d", i), ManagerID: &manager.ID}
    		DB.Create(user)
    		userIDs = append(userIDs, user.ID)
    	}
    
    	var entries []User
    	assert.NotPanics(t, func() {
    		assert.NoError(t,
    			DB.Debug().Preload("Manager.Team").
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/bufio/bufio_test.go

    				t.Errorf("%s: len(Peek(%d)) = %v; want %v", tt.name, tt.peekSize, len(peekBuf), tt.peekSize)
    				continue
    			}
    		}
    		discarded, err := br.Discard(tt.n)
    		if ge, we := fmt.Sprint(err), fmt.Sprint(tt.wantErr); discarded != tt.want || ge != we {
    			t.Errorf("%s: Discard(%d) = (%v, %v); want (%v, %v)", tt.name, tt.n, discarded, ge, tt.want, we)
    			continue
    		}
    		if bn := br.Buffered(); bn != tt.wantBuffered {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. internal/bucket/replication/filter.go

    			return err
    		}
    	case !f.Tag.IsEmpty():
    		if err := e.EncodeElement(f.Tag, xml.StartElement{Name: xml.Name{Local: "Tag"}}); err != nil {
    			return err
    		}
    	default:
    		// Always print Prefix field when both And & Tag are empty
    		if err := e.EncodeElement(f.Prefix, xml.StartElement{Name: xml.Name{Local: "Prefix"}}); err != nil {
    			return err
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 28 18:25:46 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. ci/official/installer_wheel.sh

    pure_python_whl=$(basename "${pure_python_whl}")
    
    # Extract the package name from the wheel name. That is, extract every character
    # before the pattern "-py3-" in the wheel name.
    pkg_name=$(echo "${pure_python_whl}" | awk -F'-py3-' '{print $1}')
    
    # Save the current working directory and then switch to the output directory.
    pushd "${TFCI_OUTPUT_DIR}"
    
    # Unpack the wheel to get all the file contents. The pure python wheel we built
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 25 17:28:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/generate.go

    		}
    
    		vwhYAML, err := generateValidatingWebhook(validationWhConfig, opts)
    		if err != nil {
    			return "", fmt.Errorf("failed to create validating webhook: %w", err)
    		}
    		tagWhYAML = fmt.Sprintf(`%s
    ---
    %s`, tagWhYAML, vwhYAML)
    	}
    
    	return tagWhYAML, nil
    }
    
    func fixWhConfig(client kube.Client, whConfig *tagWebhookConfig) (*tagWebhookConfig, error) {
    	if whConfig.URL != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. internal/bucket/replication/replication_test.go

    			expectedValidationErr: nil,
    		},
    	}
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil && tc.expectedParsingErr != nil && err.Error() != tc.expectedParsingErr.Error() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top