Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for computed (0.28 sec)

  1. internal/logger/target/kafka/kafka_scram_client_contrib.go

    // completes is also an error.
    func (x *XDGSCRAMClient) Step(challenge string) (response string, err error) {
    	response, err = x.ClientConversation.Step(challenge)
    	return
    }
    
    // Done returns true if the conversation is completed or has errored.
    func (x *XDGSCRAMClient) Done() bool {
    	return x.ClientConversation.Done()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  2. cmd/object_api_suite_test.go

    	}
    
    	uploadContent := "The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed."
    	var opts ObjectOptions
    	// check before paging occurs.
    	for i := 0; i < 5; i++ {
    		key := "obj" + strconv.Itoa(i)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			}
    			continue
    		}
    
    		switch filename {
    		case "completed":
    			// Strictly speaking, there is no guarantee that seeing the error at completed:1
    			// (at the end of the file) means we've seen all the errors from earlier in the file,
    			// but usually it does. Certainly if we don't see the completed:1 error, we did
    			// not get all the errors we expected.
    			completed = true
    
    		case "not-declared":
    			sniff[i] |= notDeclared
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. internal/s3select/sql/value.go

    		v.setTimestamp(t)
    		return nil
    	}
    	if !utf8.Valid(b) {
    		return errors.New("value is not valid utf-8")
    	}
    	// Fallback to string
    	v.setString(asString)
    	return
    }
    
    // When numeric types are compared, type promotions could happen. If
    // values do not have types (e.g. when reading from CSV), for
    // comparison operations, automatic type conversion happens by trying
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  5. src/bytes/bytes.go

    // for a k-rune slice.
    // If n < 0, there is no limit on the number of replacements.
    func Replace(s, old, new []byte, n int) []byte {
    	m := 0
    	if n != 0 {
    		// Compute number of replacements.
    		m = Count(s, old)
    	}
    	if m == 0 {
    		// Just return a copy.
    		return append([]byte(nil), s...)
    	}
    	if n < 0 || m < n {
    		n = m
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    type ReplicationPermissionCheck struct{}
    
    func (e ReplicationPermissionCheck) Error() string {
    	return "Replication permission validation requests cannot be completed"
    }
    
    func isReplicationPermissionCheck(err error) bool {
    	_, ok := err.(ReplicationPermissionCheck)
    	return ok
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-generate_test.go

    		}
    		if err := extract(f, d); err != nil {
    			panic(fmt.Errorf("failed to extract data snapshot: %v", err))
    		}
    		return chartSourceType(filepath.Join(d, "manifests"))
    	}()
    	// Compiled in charts come from assets.gen.go
    	compiledInCharts chartSourceType = "COMPILED"
    	_                                = compiledInCharts
    	// Live charts come from manifests/
    	liveCharts = chartSourceType(filepath.Join(env.IstioSrc, operatorSubdirFilePath))
    )
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  8. src/archive/zip/zip_test.go

    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    			Method: Store, // Deflate is too slow when it is compiled with -race flag
    		})
    		if err != nil {
    			t.Fatalf("creating file %d: %v", i, err)
    		}
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("Writer.Close: %v", err)
    	}
    	s := buf.String()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	opts.Versioned = versioned
    	opts.VersionSuspended = suspended
    
    	// First, we compute the ETag of the multipart object.
    	// The ETag of a multi-part object is always:
    	//   ETag := MD5(ETag_p1, ETag_p2, ...)+"-N"   (N being the number of parts)
    	//
    	// This is independent of encryption. An encrypted multipart
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    func (p *xlStorageDiskIDCheck) monitorDiskWritable(ctx context.Context) {
    	var (
    		// We check every 15 seconds if the disk is writable and we can read back.
    		checkEvery = 15 * time.Second
    
    		// If the disk has completed an operation successfully within last 5 seconds, don't check it.
    		skipIfSuccessBefore = 5 * time.Second
    	)
    
    	// if disk max timeout is smaller than checkEvery window
    	// reduce checks by a second.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
Back to top