Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for sendZero (0.16 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/encoding/gob/encgen.go

    	slice, ok := v.Interface().([]%[1]s)
    	if !ok {
    		// It is kind %[1]s but not type %[1]s. TODO: We can handle this unsafely.
    		return false
    	}
    	for _, x := range slice {
    		if x != %[3]s || state.sendZero {
    			%[4]s
    		}
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. 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)
  4. src/crypto/internal/hpke/hpke.go

    	if err != nil {
    		return nil, nil, err
    	}
    
    	return encapsulatedKey, &Sender{
    		kem:            kem,
    		aead:           aead,
    		sharedSecret:   sharedSecret,
    		suiteID:        suiteID,
    		key:            key,
    		baseNonce:      baseNonce,
    		exporterSecret: exporterSecret,
    	}, nil
    }
    
    func (s *Sender) nextNonce() []byte {
    	nonce := s.seqNum.bytes()[16-s.aead.NonceSize():]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. 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)
  6. src/net/http/internal/chunked.go

    	if cr.err != nil {
    		return
    	}
    	cr.n, cr.err = parseHexUint(line)
    	if cr.err != nil {
    		return
    	}
    	// A sender who sends one byte per chunk will send 5 bytes of overhead
    	// for every byte of data. ("1\r\nX\r\n" to send "X".)
    	// We want to allow this, since streaming a byte at a time can be legitimate.
    	//
    	// A sender can use chunk extensions to add arbitrary amounts of additional
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

        const val MAX_CONCURRENT_STREAMS = 4
    
        /** HTTP/2: Size in bytes of the largest frame payload the sender will accept. */
        const val MAX_FRAME_SIZE = 5
    
        /** HTTP/2: Advisory only. Size in bytes of the largest header list the sender will accept. */
        const val MAX_HEADER_LIST_SIZE = 6
    
        /** Window size in bytes. */
        const val INITIAL_WINDOW_SIZE = 7
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output recv_a = ops::_Recv(root.WithOpName("recv_a"), DT_FLOAT, "tensor_a",
                                 "sender", 0, "receiver");
      Output recv_b = ops::_Recv(root.WithOpName("recv_b"), DT_FLOAT, "tensor_b",
                                 "sender", 0, "receiver");
      Output add = ops::Add(root.WithOpName("add"), recv_a, recv_b);
    
      std::unique_ptr<DeadnessAnalysis> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top