Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,532 for ELSE (0.01 sec)

  1. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

                // add to both; the one already containing it will have more
                multiset1.add(element);
                multiset2.add(element);
              } else if (i % 2 == 0) {
                multiset1.add(elements[i]);
              } else {
                multiset2.add(elements[i]);
              }
            }
            return union(multiset1, multiset2);
          }
        };
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                totalDataCount = writeDataWireFormat(txn_buf, bufDataOffset);
    
                dataCount = Math.min(totalDataCount, available);
            } else {
                if (command != SMB_COM_NT_TRANSACT) {
                    command = SMB_COM_TRANSACTION_SECONDARY;
                } else {
                    command = SMB_COM_NT_TRANSACT_SECONDARY;
                }
                // totalParameterCount and totalDataCount are set ok from primary
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

              ),
            )
    
          return result
        }
    
        private fun validity(): Validity {
          val notBefore = if (notBefore != -1L) notBefore else System.currentTimeMillis()
          val notAfter = if (notAfter != -1L) notAfter else notBefore + DEFAULT_DURATION_MILLIS
          return Validity(
            notBefore = notBefore,
            notAfter = notAfter,
          )
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractService.java

      }
    
      private void enqueueStoppingEvent(State from) {
        if (from == State.STARTING) {
          listeners.enqueue(STOPPING_FROM_STARTING_EVENT);
        } else if (from == State.RUNNING) {
          listeners.enqueue(STOPPING_FROM_RUNNING_EVENT);
        } else {
          throw new AssertionError();
        }
      }
    
      private void enqueueTerminatedEvent(State from) {
        switch (from) {
          case NEW:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof BaseComparable) {
          return s.equals(((BaseComparable) other).s);
        } else {
          return false;
        }
      }
    
      @Override
      public int compareTo(BaseComparable o) {
        return s.compareTo(o.s);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/Base.java

        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof Base) {
          return s.equals(((Base) other).s);
        } else {
          return false;
        }
      }
    
      @Override
      public int compareTo(Base o) {
        return s.compareTo(o.s);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java

         */
        public static BigInteger toBigInteger(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof BigInteger) {
                return (BigInteger) o;
            } else {
                final Long l = LongConversionUtil.toLong(o, pattern);
                if (l == null) {
                    return null;
                }
                return BigInteger.valueOf(l);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. tests/embedded_struct_test.go

    			t.Errorf("should has prefixed column %v", name)
    		}
    	}
    
    	stmt := gorm.Statement{DB: DB}
    	if err := stmt.Parse(&EngadgetPost{}); err != nil {
    		t.Fatalf("failed to parse embedded struct")
    	} else if len(stmt.Schema.PrimaryFields) != 1 {
    		t.Errorf("should have only one primary field with embedded struct, but got %v", len(stmt.Schema.PrimaryFields))
    	}
    
    	for _, name := range []string{"user_id", "user_name", "user_email"} {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. ci/official/pycpp.sh

    if [[ `uname -s | grep -P '^MSYS_NT'` ]]; then
      PROFILE_JSON_PATH=$(replace_drive_letter_with_prefix "$TFCI_OUTPUT_WIN_DOCKER_DIR")
      PROFILE_JSON_PATH="$PROFILE_JSON_PATH/profile.json.gz"
    else
      PROFILE_JSON_PATH="$TFCI_OUTPUT_DIR/profile.json.gz"
    fi
    
    # TODO(b/361369076) Remove the following block after TF NumPy 1 is dropped
    # Move hermetic requirement lock files for NumPy 1 to the root
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/PairedStatsAccumulator.java

          } else {
            return LinearTransformation.horizontal(yStats.mean());
          }
        } else {
          checkState(yStats.sumOfSquaresOfDeltas() > 0.0);
          return LinearTransformation.vertical(xStats.mean());
        }
      }
    
      private double ensurePositive(double value) {
        if (value > 0.0) {
          return value;
        } else {
          return Double.MIN_VALUE;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top