Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 197 for fmtF (0.13 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    			}
    		}
    		if !matched {
    			errs = append(errs, fmt.Errorf("%s:%d: no match for %#q in:\n\t%s", we.file, we.lineNum, we.reStr, strings.Join(out[n:], "\n\t")))
    			continue
    		}
    	}
    
    	if len(out) > 0 {
    		errs = append(errs, fmt.Errorf("Unmatched Errors:"))
    		for _, errLine := range out {
    			errs = append(errs, fmt.Errorf("%s", errLine))
    		}
    	}
    
    	if len(errs) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    	}
    
    	var buf strings.Builder
    	for i := len(stack) - 1; i >= 0; i-- {
    		p := stack[i]
    		fmt.Fprint(&buf, p.path)
    		if p.testOf != nil {
    			fmt.Fprint(&buf, ".test")
    		}
    		if i > 0 {
    			if stack[i-1].testOf == p {
    				fmt.Fprint(&buf, " tested by\n\t")
    			} else {
    				fmt.Fprint(&buf, " imports\n\t")
    			}
    		}
    	}
    	return buf.String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    		return nil, fmt.Errorf("add claim parameters cache indexer: %w", err)
    	}
    	if err := pl.classParametersIndexer.AddIndexers(cache.Indexers{generatedFromIndex: classParametersGeneratedFromIndexFunc}); err != nil {
    		return nil, fmt.Errorf("add class parameters cache indexer: %w", err)
    	}
    
    	return pl, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_mounter_test.go

    		volDataKey.seLinuxMountContext: seLinuxMountContext,
    	}
    	if err := os.MkdirAll(mountPath, 0755); err != nil {
    		return fmt.Errorf("failed to create dir for volume info file: %s", err)
    	}
    	if err := saveVolumeData(mountPath, volDataFileName, volData); err != nil {
    		return fmt.Errorf("failed to save volume info file: %s", err)
    	}
    	return nil
    }
    
    func TestMounterGetPath(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  5. src/crypto/tls/tls_test.go

    	if n != 6 || err != nil || string(buf) != "foobar" {
    		return fmt.Errorf("Read = %d, %v, data %q; want 6, nil, foobar", n, err, buf)
    	}
    
    	srv.Write([]byte("abcdef"))
    	srv.Close()
    	time.Sleep(delay)
    	n, err = conn.Read(buf)
    	if n != 6 || string(buf) != "abcdef" {
    		return fmt.Errorf("Read = %d, buf= %q; want 6, abcdef", n, buf)
    	}
    	if err != io.EOF {
    		return fmt.Errorf("Second Read error = %v; want io.EOF", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  6. pkg/proxy/iptables/proxier.go

    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv4 proxier: %v", err)
    	}
    
    	ipv6Proxier, err := NewProxier(ctx, v1.IPv6Protocol, ipt[1], sysctl,
    		exec, syncPeriod, minSyncPeriod, masqueradeAll, false, masqueradeBit,
    		localDetectors[v1.IPv6Protocol], hostname, nodeIPs[v1.IPv6Protocol],
    		recorder, healthzServer, nodePortAddresses, initOnly)
    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv6 proxier: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, errors.New("The file or text content is missing"))
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	checksum, err := hash.GetContentChecksum(formValues)
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, fmt.Errorf("Invalid checksum: %w", err))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	}
    	// some implementations access storage directly and thus the context has no RequestInfo
    	return e.DefaultQualifiedResource
    }
    
    var (
    	errAlreadyDeleting   = fmt.Errorf("abort delete")
    	errDeleteNow         = fmt.Errorf("delete now")
    	errEmptiedFinalizers = fmt.Errorf("emptied finalizers")
    )
    
    // shouldOrphanDependents returns true if the finalizer for orphaning should be set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_tls_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 core
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    	"time"
    
    	cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		if !ok {
    			return nil, nil, fmt.Errorf("missing parent storage: %q", resource)
    		}
    		scoper, ok := parentStorage.(rest.Scoper)
    		if !ok {
    			return nil, nil, fmt.Errorf("%q must implement scoper", resource)
    		}
    		namespaceScoped = scoper.NamespaceScoped()
    
    	} else {
    		scoper, ok := storage.(rest.Scoper)
    		if !ok {
    			return nil, nil, fmt.Errorf("%q must implement scoper", resource)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top