Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 538 for parseAI (0.06 sec)

  1. internal/config/storageclass/storage-class.go

    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    		return fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)
    	}
    	return ""
    }
    
    // Parses given storageClassEnv and returns a storageClass structure.
    // Supported Storage Class format is "Scheme:Number of parity drives".
    // Currently only supported scheme is "EC".
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	k, err := crypto.SSECopy.ParseHTTP(h)
    	return k[:], err
    }
    
    // ParseSSECustomerRequest parses the SSE-C header fields of the provided request.
    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  3. cmd/api-resources.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/base64"
    	"net/url"
    	"strconv"
    )
    
    // Parse bucket url queries
    func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-keys") != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

          var unexpectedValues = false
    
          // Parse each header.
          for (i in 0 until responseHeaders.size) {
            if (!responseHeaders.name(i).equals(HEADER_WEB_SOCKET_EXTENSION, ignoreCase = true)) {
              continue // Not a header we're interested in.
            }
            val header = responseHeaders.value(i)
    
            // Parse each extension.
            var pos = 0
            while (pos < header.length) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/MediaTypeGetTest.kt

    import okhttp3.MediaType.Companion.toMediaType
    
    open class MediaTypeGetTest : MediaTypeTest() {
      override fun parse(string: String): MediaType = string.toMediaType()
    
      override fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        val e =
          assertFailsWith<IllegalArgumentException> {
            parse(string)
          }
        assertEquals(exceptionMessage, e.message)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ParameterUtil.java

        protected static final String FIELD_PREFIX = "field.config.";
    
        protected ParameterUtil() {
            // nothing
        }
    
        public static Map<String, String> parse(final String value) {
            final Map<String, String> paramMap = new LinkedHashMap<>();
            if (value != null) {
                int unknownKey = 0;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. internal/arn/arn_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			gotArn, err := Parse(tt.args.arnStr)
    			if err == nil && tt.wantErr {
    				t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if err != nil && !tt.wantErr {
    				t.Errorf("Parse() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if err == nil {
    				if !reflect.DeepEqual(gotArn, tt.wantArn) {
    					t.Errorf("Parse() gotArn = %v, want %v", gotArn, tt.wantArn)
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlResponse.java

        public void close() throws IOException {
            if (contentCache != null) {
                contentCache.close();
            }
        }
    
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
            try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream());
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. schema/relationship_test.go

    import (
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    )
    
    func checkStructRelation(t *testing.T, data interface{}, relations ...Relation) {
    	if s, err := schema.Parse(data, &sync.Map{}, schema.NamingStrategy{}); err != nil {
    		t.Errorf("Failed to parse schema, got error %v", err)
    	} else {
    		for _, rel := range relations {
    			checkSchemaRelation(t, s, rel)
    		}
    	}
    }
    
    func TestBelongsToOverrideForeignKey(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

         * <pre>
         * Display parameters as parsed by Maven (in canonical form) and comparison result:
         * 1. 1.2.7 == 1.2.7
         *    1.2.7 &gt; 1.2-SNAPSHOT
         * 2. 1.2-SNAPSHOT == 1.2-snapshot
         * </pre>
         *
         * @param args the version strings to parse and compare. You can pass arbitrary number of version strings and always
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top