Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 308 for tenc (2.48 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    	}
    
    	return obj, nil // success
    }
    
    // scopeObjects is a memoization of scope objects.
    // Callers must not modify the result.
    func (enc *Encoder) scopeObjects(scope *types.Scope) []types.Object {
    	m := enc.scopeMemo
    	if m == nil {
    		m = make(map[*types.Scope][]types.Object)
    		enc.scopeMemo = m
    	}
    	objs, ok := m[scope]
    	if !ok {
    		names := scope.Names() // allocates and sorts
    		objs = make([]types.Object, len(names))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/log/slog/json_handler.go

    	}
    	return nil
    }
    
    func appendJSONMarshal(buf *buffer.Buffer, v any) error {
    	// Use a json.Encoder to avoid escaping HTML.
    	var bb bytes.Buffer
    	enc := json.NewEncoder(&bb)
    	enc.SetEscapeHTML(false)
    	if err := enc.Encode(v); err != nil {
    		return err
    	}
    	bs := bb.Bytes()
    	buf.Write(bs[:len(bs)-1]) // remove final newline
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:18:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm_test.go

    			} else if !tt.expectedError && err != nil {
    				t.Errorf("expected no error, but got: %v", err)
    			} else if !reflect.DeepEqual(in, expected) {
    				var buf bytes.Buffer
    				enc := json.NewEncoder(&buf)
    				enc.SetIndent("", "  ")
    				err := enc.Encode(in)
    				if err != nil {
    					t.Fatalf("unexpected result mashalling error: %v", err)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    foundEnc = true;
                    EncryptionNegotiateContext enc = (EncryptionNegotiateContext) ncr;
                    if ( !checkEncryptionContext(req, enc) ) {
                        return false;
                    }
                    this.selectedCipher = enc.getCiphers()[ 0 ];
                    this.supportsEncryption = true;
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  5. src/strconv/atof.go

    // entirely in floating-point math, do so, avoiding the expense of decimalToFloatBits.
    // Three common cases:
    //
    //	value is exact integer
    //	value is exact integer * exact power of ten
    //	value is exact integer / exact power of ten
    //
    // These all produce potentially inexact but correctly rounded answers.
    func atof64exact(mantissa uint64, exp int, neg bool) (f float64, ok bool) {
    	if mantissa>>float64info.mantbits != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/cache/prog.go

    // See https://github.com/golang/go/issues/59719
    type ProgCache struct {
    	cmd    *exec.Cmd
    	stdout io.ReadCloser  // from the child process
    	stdin  io.WriteCloser // to the child process
    	bw     *bufio.Writer  // to stdin
    	jenc   *json.Encoder  // to bw
    
    	// can are the commands that the child process declared that it supports.
    	// This is effectively the versioning mechanism.
    	can map[ProgCmd]bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    	}
    
    	if field.Exported() {
    		return
    	}
    
    	for _, enc := range [...]string{"json", "xml"} {
    		switch reflect.StructTag(tag).Get(enc) {
    		// Ignore warning if the field not exported and the tag is marked as
    		// ignored.
    		case "", "-":
    		default:
    			pass.Reportf(field.Pos(), "struct field %s has %s tag but is not exported", field.Name(), enc)
    			return
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. src/crypto/aes/gcm_ppc64x.go

    // called by [crypto/cipher.NewGCM] via the gcmAble interface.
    func (c *aesCipherAsm) NewGCM(nonceSize, tagSize int) (cipher.AEAD, error) {
    	var h1, h2 uint64
    	g := &gcmAsm{cipher: c, ks: c.enc[:c.l], nonceSize: nonceSize, tagSize: tagSize}
    
    	hle := make([]byte, gcmBlockSize)
    
    	c.Encrypt(hle, hle)
    
    	// Reverse the bytes in each 8 byte chunk
    	// Load little endian, store big endian
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. internal/pubsub/pubsub.go

    			atomic.AddInt32(&ps.numSubscribers, -1)
    		}()
    
    		// Read from subChT and write to subCh
    		var buf bytes.Buffer
    		enc := json.NewEncoder(&buf)
    		for {
    			select {
    			case <-doneCh:
    				return
    			case v, ok := <-subChT:
    				if !ok {
    					return
    				}
    				buf.Reset()
    				err := enc.Encode(v)
    				if err != nil {
    					return
    				}
    
    				select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/hash/test_cases.txt

    a
    ab
    abc
    abcd
    abcde
    abcdef
    abcdefg
    abcdefgh
    abcdefghi
    abcdefghij
    Discard medicine more than two years old.
    He who has a shady past knows that nice guys finish last.
    I wouldn't marry him with a ten foot pole.
    Free! Free!/A trip/to Mars/for 900/empty jars/Burma Shave
    The days of the digital watch are numbered.  -Tom Stoppard
    Nepal premier won't resign.
    For every action there is an equal and opposite government program.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.3K bytes
    - Viewed (0)
Back to top