Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for sendZero (0.25 sec)

  1. src/encoding/gob/encode.go

    	b := v.Bool()
    	if b || state.sendZero {
    		state.update(i)
    		if b {
    			state.encodeUint(1)
    		} else {
    			state.encodeUint(0)
    		}
    	}
    }
    
    // encInt encodes the signed integer (int int8 int16 int32 int64) referenced by v.
    func encInt(i *encInstr, state *encoderState, v reflect.Value) {
    	value := v.Int()
    	if value != 0 || state.sendZero {
    		state.update(i)
    		state.encodeInt(value)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/runtime/chan.go

    			}
    			return true, false
    		}
    		// The channel has been closed, but the channel's buffer have data.
    	} else {
    		// Just found waiting sender with not closed.
    		if sg := c.sendq.dequeue(); sg != nil {
    			// Found a waiting sender. If buffer is size 0, receive value
    			// directly from sender. Otherwise, receive from head of queue
    			// and add sender's value to the tail of the queue (both map to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptingMetaClass.java

        }
    
        @Override
        public Object getProperty(Class sender, Object object, String name, boolean useSuper, boolean fromInsideClass) {
            if (useSuper || fromInsideClass) {
                return adaptee.getProperty(sender, object, name, useSuper, fromInsideClass);
            } else {
                return invokeIntercepted(object, GET_PROPERTY, name, NO_ARG, () -> adaptee.getProperty(sender, object, name, false, false));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. src/runtime/race/testdata/chan_test.go

    		_ = data[i]
    	}
    }
    
    // Test that sender synchronizes with receiver even if the sender was blocked.
    func TestNoRaceBlockedSendSync(t *testing.T) {
    	c := make(chan *int, 1)
    	c <- nil
    	go func() {
    		i := 42
    		c <- &i
    	}()
    	// Give the sender time to actually block.
    	// This sleep is completely optional: race report must not be printed
    	// regardless of whether the sender actually blocks or not.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy

            "invokeMethod(sender, receiver, methodName, arguments, false, false)" | { instance.metaClass.invokeMethod(getClass(), instance, "test", [].toArray(), false, false) } | true        | false
    
            // These should not be intercepted because of isCallToSuper and fromInsideClass
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. cmd/admin-handlers-idp-ldap.go

    	}
    
    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	var (
    		targetGroups []string
    		err          error
    	)
    
    	// If we are creating svc account for request sender, ensure that targetUser
    	// is a real user (i.e. not derived credentials).
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 19:58:48 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/net/smtp/smtp_test.go

    250-mx.google.com at your service
    250 FEATURE
    `
    
    var helloServer = []string{
    	"",
    	"502 Not implemented\n",
    	"250 User is valid\n",
    	"235 Accepted\n",
    	"250 Sender ok\n",
    	"",
    	"250 Reset ok\n",
    	"221 Goodbye\n",
    	"250 Sender ok\n",
    	"250 ok\n",
    }
    
    var baseHelloClient = `EHLO customhost
    HELO customhost
    `
    
    var helloClient = []string{
    	"",
    	"STARTTLS\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. src/runtime/chan_test.go

    	// The way we try to induce this failure is to set up two
    	// goroutines: a sender and a receiver that communicate across
    	// a channel. We try to set up a situation where the sender
    	// grows its stack temporarily then *fully* blocks on a channel
    	// often. Meanwhile a GC is triggered so that we try to get a
    	// mark worker to shrink the sender's stack and race with the
    	// sender parking.
    	//
    	// Unfortunately the race window here is so small that we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         * that trigger this are HEADERS and PUSH_PROMISE.
         *
         * @param inFinished true if the sender will not send further frames.
         * @param streamId the stream owning these headers.
         * @param associatedStreamId the stream that triggered the sender to create this stream.
         */
        fun headers(
          inFinished: Boolean,
          streamId: Int,
          associatedStreamId: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                putValue(data, "Message-Number", message.getMessageNumber());
                putValue(data, "Received-Date", getReceivedDate(message));
                putValue(data, "Reply-To", message.getReplyTo());
                putValue(data, "Sender", message.getSender());
                putValue(data, "Sent-Date", message.getSentDate());
                putValue(data, "Size", message.getSize());
                putValue(data, "Subject", message.getSubject());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top