Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 2,283 for else (0.05 sec)

  1. fastapi/security/http.py

                    )
                else:
                    return None
            if scheme.lower() != "bearer":
                if self.auto_error:
                    raise HTTPException(
                        status_code=HTTP_403_FORBIDDEN,
                        detail="Invalid authentication credentials",
                    )
                else:
                    return None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

                CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
              )
          } else {
            assertThat(sslSocket.enabledCipherSuites)
              .containsExactly(
                CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName,
                CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
              )
          }
        } else {
          assertThat(sslSocket.enabledCipherSuites)
            .containsExactly(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        String result;
        if (state == DONE) {
          result = "running=[DONE]";
        } else if (state instanceof Blocker) {
          result = "running=[INTERRUPTED]";
        } else if (state instanceof Thread) {
          // getName is final on Thread, no need to worry about exceptions
          result = "running=[RUNNING ON " + ((Thread) state).getName() + "]";
        } else {
          result = "running=[NOT STARTED YET]";
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                        collection.forEach(element -> arraySettings.add(new Tuple<>(key, element)));
                    } else if (value instanceof Object[]) {
                        for (final Object element : (Object[]) value) {
                            arraySettings.add(new Tuple<>(key, element));
                        }
                    } else {
                        defaultSettings.put(key, value);
                    }
                });
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                        this.handle = this.pipe.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0);
                    }
                    else {
                        // at least on samba, SmbComOpenAndX fails without the pipe prefix
                        this.handle = this.pipe
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

        @Override
        public String getGroupId() {
            if (groupId != null) {
                return groupId;
            } else {
                return artifact.getGroupId();
            }
        }
    
        @Override
        public String getArtifactId() {
            if (artifactId != null) {
                return artifactId;
            } else {
                return artifact.getArtifactId();
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics_gen.go

    		if err != nil {
    			return
    		}
    	} else {
    		err = z.XferRateLrg.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "XferRateLrg")
    			return
    		}
    	}
    	// write "st"
    	err = en.Append(0xa2, 0x73, 0x74)
    	if err != nil {
    		return
    	}
    	if z.XferRateSml == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.XferRateSml.EncodeMsg(en)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                    }
                    else {
                        this.createDisposition = FILE_OPEN_IF;
                    }
                }
                else {
                    this.createDisposition = FILE_OPEN;
                }
            }
    
            if ( ( createOptions & 0x0001 ) == 0 ) {
                this.createOptions = createOptions | 0x0040;
            }
            else {
                this.createOptions = createOptions;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/maven/bin/mvn

        JAVACMD="$JAVA_HOME/jre/sh/java"
      else
        JAVACMD="$JAVA_HOME/bin/java"
    
        if [ ! -x "$JAVACMD" ] ; then
          echo "The JAVA_HOME environment variable is not defined correctly, so Apache Maven cannot be started." >&2
          echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" does not exist." >&2
          exit 1
        fi
      fi
    else
      JAVACMD="`\\unset -f command; \\command -v java`"
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. tests/default_value_test.go

    	}
    
    	harumph := Harumph{Email: "******@****.***"}
    	if err := DB.Create(&harumph).Error; err != nil {
    		t.Fatalf("Failed to create data with default value, got error: %v", err)
    	} else if harumph.Name != "foo" || harumph.Name2 != "foo" || harumph.Name3 != "" || harumph.Age != 18 || !harumph.Enabled || harumph.Created.Format("20060102") != "20000102" {
    		t.Fatalf("Failed to create data with default value, got: %+v", harumph)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top