Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 747 for mreply (0.28 sec)

  1. src/net/rpc/client_test.go

    		panic(err)
    	}
    	go Accept(listen)
    
    	client, err := Dial("tcp", listen.Addr().String())
    	if err != nil {
    		panic(err)
    	}
    
    	var reply Reply
    	err = client.Call("S.Recv", &struct{}{}, &reply)
    	if err != nil {
    		panic(err)
    	}
    
    	fmt.Printf("%#v\n", reply)
    	client.Close()
    
    	listen.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. cmd/lock-rest-server.go

    	resp := lockRPCUnlock.NewResponse()
    	_, err := l.ll.Unlock(context.Background(), *args)
    	// Ignore the Unlock() "reply" return value because if err == nil, "reply" is always true
    	// Consequently, if err != nil, reply is always false
    	return l.makeResp(resp, err)
    }
    
    // RLockHandler - Acquires an RLock.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. cmd/lock-rest-client.go

    	return c.call(ctx, lockRPCRLock, &args)
    }
    
    // Lock calls lock REST API.
    func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCLock, &args)
    }
    
    // RUnlock calls read unlock REST API.
    func (c *lockRESTClient) RUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 24 17:07:14 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. pkg/registry/core/componentstatus/rest.go

    		// all of the results and return an empty response).
    		if matched := matchesPredicate(status, &pred); matched {
    			reply = append(reply, status)
    		}
    	}
    	return &api.ComponentStatusList{Items: reply}, nil
    }
    
    func componentStatusPredicate(options *metainternalversion.ListOptions) storage.SelectionPredicate {
    	pred := storage.SelectionPredicate{
    		Label:    labels.Everything(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. cmd/local-locker.go

    		l.lockMap[resource] = []lockRequesterInfo{lrInfo}
    		l.lockUID[formatUUID(args.UID, 0)] = resource
    		reply = true
    	}
    	return reply, nil
    }
    
    func (l *localLocker) RUnlock(_ context.Context, args dsync.LockArgs) (reply bool, err error) {
    	if len(args.Resources) > 1 {
    		return false, fmt.Errorf("internal error: localLocker.RUnlock called with more than one resource")
    	}
    
    	l.mutex.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/net/rpc/client.go

    // If non-nil, done must be buffered or Go will deliberately crash.
    func (client *Client) Go(serviceMethod string, args any, reply any, done chan *Call) *Call {
    	call := new(Call)
    	call.ServiceMethod = serviceMethod
    	call.Args = args
    	call.Reply = reply
    	if done == nil {
    		done = make(chan *Call, 10) // buffered.
    	} else {
    		// If caller passes done != nil, it must arrange that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. cmd/notification.go

    	for index, err := range g.Wait() {
    		if err != nil {
    			sys.addNodeErr(&reply[index], sys.peerClients[index], err)
    		}
    	}
    	return reply
    }
    
    // GetNetInfo - Network information
    func (sys *NotificationSys) GetNetInfo(ctx context.Context) []madmin.NetInfo {
    	reply := make([]madmin.NetInfo, len(sys.peerClients))
    
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    		if client == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  8. .github/actions/people/app/main.py

                        )
                for reply in comment.replies.nodes:
                    if reply.author:
                        authors[reply.author.login] = reply.author
                        if reply.author.login != discussion_author_name:
                            author_time = discussion_commentors.get(
                                reply.author.login, reply.createdAt
                            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 17:38:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

        }
    
        /**
         * Prompts the user for a string using a list of possible values and a default reply.
         *
         * @param message the message to display
         * @param possibleValues the list of possible values
         * @param defaultReply the default reply value
         * @return the string entered by the user
         * @throws PrompterException if an exception occurs
         */
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. src/reflect/deepequal.go

    	}
    }
    
    // DeepEqual reports whether x and y are “deeply equal,” defined as follows.
    // Two values of identical type are deeply equal if one of the following cases applies.
    // Values of distinct types are never deeply equal.
    //
    // Array values are deeply equal when their corresponding elements are deeply equal.
    //
    // Struct values are deeply equal if their corresponding fields,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top