Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 1,123 for Nil (0.04 sec)

  1. istioctl/pkg/describe/describe_test.go

    									OutlierDetection: &networking.OutlierDetection{MinHealthPercent: 10},
    								},
    							},
    							Tunnel:        nil,
    							ProxyProtocol: nil,
    						},
    					},
    				},
    			},
    			configDumps: map[string][]byte{
    				"productpage-v1-1234567890": config,
    				"ingress":                   []byte("{}"),
    			},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    	name, err := strconv.Unquote(in.Stack.Text())
    	if err != nil {
    		in.Error("unquoting include file name: ", err)
    	}
    	in.expectNewline("#include")
    	// Push tokenizer for file onto stack.
    	fd, err := os.Open(name)
    	if err != nil {
    		for _, dir := range in.includes {
    			fd, err = os.Open(filepath.Join(dir, name))
    			if err == nil {
    				break
    			}
    		}
    		if err != nil {
    			in.Error("#include:", err)
    		}
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. cmd/lock-rest-server.go

    	// Consequently, if err != nil, reply is always false
    	return l.makeResp(resp, err)
    }
    
    // RLockHandler - Acquires an RLock.
    func (l *lockRESTServer) RLockHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRLock.NewResponse()
    	success, err := l.ll.RLock(context.Background(), *args)
    	if err == nil && !success {
    		err = errLockConflict
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.go

    	defer C.free(unsafe.Pointer(p))
    	if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 {
    		return os.ErrInvalid
    	}
    	return nil
    }
    
    // String returns the decimal representation of z.
    func (z *Int) String() string {
    	if z == nil {
    		return "nil"
    	}
    	z.doinit()
    	p := C.mpz_get_str(nil, 10, &z.i[0])
    	s := C.GoString(p)
    	C.free(unsafe.Pointer(p))
    	return s
    }
    
    func (z *Int) destroy() {
    	if z.init {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/services.go

    	})
    	out, err := json.MarshalIndent(svcs, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal workloads: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/tag.go

    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			var s string
    			if err = d.DecodeElement(&s, &se); err != nil {
    				return err
    			}
    			switch se.Name.Local {
    			case "Key":
    				if keyAlreadyParsed {
    					return errDuplicatedXMLTag
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/addr2line/main.go

    	counter.CountFlags("addr2line/flag:", *flag.CommandLine)
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	f, err := objfile.Open(flag.Arg(0))
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer f.Close()
    
    	tab, err := f.PCLineTable()
    	if err != nil {
    		log.Fatalf("reading %s: %v", flag.Arg(0), err)
    	}
    
    	stdin := bufio.NewScanner(os.Stdin)
    	stdout := bufio.NewWriter(os.Stdout)
    
    	for stdin.Scan() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. tests/helper_test.go

    		})
    
    		sort.Slice(expect.Pets, func(i, j int) bool {
    			return expect.Pets[i].ID > expect.Pets[j].ID
    		})
    
    		for idx, pet := range user.Pets {
    			if pet == nil || expect.Pets[idx] == nil {
    				t.Errorf("pets#%v should equal, expect: %v, got %v", idx, expect.Pets[idx], pet)
    			} else {
    				doCheckPet(t, *pet, *expect.Pets[idx], unscoped)
    			}
    		}
    	})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig_test.go

    			if c.fileContents != "" {
    				err := os.WriteFile(filepath.Join(c.dir, c.inFilename), []byte(c.fileContents), 0o644)
    				if err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			result, err := getDefaultCNINetwork(c.dir)
    			if (c.expectedFailure && err == nil) || (!c.expectedFailure && err != nil) {
    				t.Fatalf("expected failure: %t, got %v", c.expectedFailure, err)
    			}
    
    			if c.fileContents != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. cni/pkg/util/executil.go

    	err := externalCommand.Run()
    
    	if len(stdout.String()) != 0 {
    		log.Debugf("Command output: \n%v", stdout.String())
    	}
    
    	if err != nil || len(stderr.Bytes()) != 0 {
    		log.Debugf("Command error output: \n%v", stderr.String())
    		return errors.New(stderr.String())
    	}
    
    	return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top