Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 6,241 for if (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        // If the server returned parameters we don't understand, fail the web socket.
        if (unknownValues) return false
    
        // If the server returned a value for client_max_window_bits, fail the web socket.
        if (clientMaxWindowBits != null) return false
    
        // If the server returned an illegal server_max_window_bits, fail the web socket.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    // kmsKeyIDFromMetadata returns any AWS S3 KMS key ID in the
    // metadata, if any. It returns an empty ID if no key ID is
    // present.
    func kmsKeyIDFromMetadata(metadata map[string]string) string {
    	const ARNPrefix = crypto.ARNPrefix
    	if len(metadata) == 0 {
    		return ""
    	}
    	kmsID, ok := metadata[crypto.MetaKeyID]
    	if !ok {
    		return ""
    	}
    	if strings.HasPrefix(kmsID, ARNPrefix) {
    		return kmsID
    	}
    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. src/main/java/org/codelibs/fess/helper/OsddHelper.java

        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            osddFile = getOsddFile();
        }
    
        protected File getOsddFile() {
            if (!isOsddLinkEnabled()) {
                logger.debug("OSDD is disabled.");
                return null;
            }
            if (StringUtil.isBlank(osddPath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. gorm.go

    		txConfig.PrepareStmt = true
    	}
    
    	if config.SkipHooks {
    		tx.Statement.SkipHooks = true
    	}
    
    	if config.DisableNestedTransaction {
    		txConfig.DisableNestedTransaction = true
    	}
    
    	if !config.NewDB {
    		tx.clone = 2
    	}
    
    	if config.DryRun {
    		tx.Config.DryRun = true
    	}
    
    	if config.QueryFields {
    		tx.Config.QueryFields = true
    	}
    
    	if config.Logger != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. schema/relationship.go

    			if f == nil {
    				reguessOrErr()
    				return
    			}
    			foreignFields = append(foreignFields, f)
    		}
    	} else {
    		primarySchemaName := primarySchema.Name
    		if primarySchemaName == "" {
    			primarySchemaName = relation.FieldSchema.Name
    		}
    
    		if len(relation.primaryKeys) > 0 {
    			for _, primaryKey := range relation.primaryKeys {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. cmd/bucket-quota.go

    	if size < 0 {
    		return nil
    	}
    
    	q, err := sys.Get(ctx, bucket)
    	if err != nil {
    		return err
    	}
    
    	var quotaSize uint64
    	if q != nil && q.Type == madmin.HardQuota {
    		if q.Size > 0 {
    			quotaSize = q.Size
    		} else if q.Quota > 0 {
    			quotaSize = q.Quota
    		}
    	}
    	if quotaSize > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. helm-releases/minio-3.4.3.tgz

    Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 21 20:55:50 UTC 2021
    - 17.7K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_test.go

    	if err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    	if n != 16 {
    		t.Fatalf("expect write 16 bytes but got %d", n)
    	}
    	if rb.Length() != 16 {
    		t.Fatalf("expect len 16 bytes but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r)
    	}
    	if rb.Free() != 48 {
    		t.Fatalf("expect free 48 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. cni/pkg/install/install_test.go

    				testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath)
    			} else if file.Exists(cniConfigFilePath) {
    				t.Fatalf("file %s was not deleted", c.configFilename)
    			}
    
    			// check if kubeconfig is deleted
    			if file.Exists(kubeConfigFilePath) {
    				t.Fatal("kubeconfig was not deleted")
    			}
    
    			// check if binaries are deleted
    			if file.Exists(filepath.Join(cniBinDir, "istio-cni")) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                final char c = cmd.charAt(i);
                if (c == ' ' && !singleQuote && !doubleQuote && buf.length() > 0) {
                    cmdList.add(getCommandValue(buf.toString(), params));
                    buf.delete(0, buf.length());
                } else if (c == '\"' && !singleQuote && prevChar != '\\') {
                    if (doubleQuote) {
                        if (buf.length() > 0) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top