Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for fulu (5.37 sec)

  1. internal/s3select/select_test.go

    	testTable := []struct {
    		name       string
    		query      string
    		requestXML []byte // override request XML
    		wantResult string
    		withJSON   string // Override JSON input
    	}{
    		{
    			name:       "select-in-array-full",
    			query:      `SELECT * from s3object s WHERE 'bar' IN s.synonyms[*]`,
    			wantResult: `{"id":0,"title":"Test Record","desc":"Some text","synonyms":["foo","bar","whatever"]}`,
    		},
    		{
    			name:  "simple-in-array",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    		if err != nil {
    			c.Fatalf("normalize err: %v", err)
    		}
    		return normalizedDN
    	}
    
    	actualUserDN := mustNormalizeDN("uid=svc.algorithm,OU=swengg,DC=min,DC=io")
    
    	// \uFE52 is the unicode dot SMALL FULL STOP used below:
    	userDNWithUnicodeDot := "uid=svc﹒algorithm,OU=swengg,DC=min,DC=io"
    
    	if err = s.adm.SetPolicy(ctx, policy, userDNWithUnicodeDot, false); err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotImplemented,
    	},
    	ErrAdminLDAPExpectedLoginName: {
    		Code:           "XMinioLDAPExpectedLoginName",
    		Description:    "Expected LDAP short username but was given full DN.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/erasure-object.go

    	}
    
    	toEncode := io.Reader(data)
    	if data.Size() >= bigFileThreshold {
    		// We use 2 buffers, so we always have a full buffer of input.
    		pool := globalBytePoolCap.Load()
    		bufA := pool.Get()
    		bufB := pool.Get()
    		defer pool.Put(bufA)
    		defer pool.Put(bufB)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/batch-handlers.go

    	req.ctx = jctx
    
    	select {
    	case <-j.ctx.Done():
    		j.once.Do(func() {
    			xioutil.SafeClose(j.jobCh)
    		})
    	case j.jobCh <- req:
    	default:
    		return fmt.Errorf("batch job queue is currently full please try again later %#v", req)
    	}
    	return nil
    }
    
    // delete canceler from the map, cancel job if requested
    func (j *BatchJobPool) canceler(jobID string, cancel bool) error {
    	if j == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    }
    
    // rewriteRef rewrites all the C.xxx references in f.AST to refer to the
    // Go equivalents, now that we have figured out the meaning of all
    // the xxx. In *godefs mode, rewriteRef replaces the names
    // with full definitions instead of mangled names.
    func (p *Package) rewriteRef(f *File) {
    	// Keep a list of all the functions, to remove the ones
    	// only used as expressions and avoid generating bridge
    	// code for them.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    		metaDataPool.Put(buf)
    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    // This should only be used when data is never interesting.
    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    	if initial > metaDataReadDefault {
    		initial = metaDataReadDefault
    		hasFull = false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. src/bufio/bufio_test.go

    		t.Errorf("rot13 hello world test failed: got %q", s)
    	}
    }
    
    type readMaker struct {
    	name string
    	fn   func(io.Reader) io.Reader
    }
    
    var readMakers = []readMaker{
    	{"full", func(r io.Reader) io.Reader { return r }},
    	{"byte", iotest.OneByteReader},
    	{"half", iotest.HalfReader},
    	{"data+err", iotest.DataErrReader},
    	{"timeout", iotest.TimeoutReader},
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top