Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 6,449 for _return (0.07 sec)

  1. android/guava/src/com/google/common/math/ToDoubleRounder.java

            case HALF_DOWN:
            case HALF_UP:
              return Double.MAX_VALUE * sign(x);
            case FLOOR:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.MAX_VALUE
                  : Double.NEGATIVE_INFINITY;
            case CEILING:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.POSITIVE_INFINITY
                  : -Double.MAX_VALUE;
            case UP:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/bucket/replication/and.go

    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && a.Prefix == ""
    }
    
    // Validate - validates the And field
    func (a And) Validate() error {
    	if a.ContainsDuplicateTag() {
    		return errDuplicateTagKey
    	}
    	for _, t := range a.Tags {
    		if err := t.Validate(); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

            if ( type2 == null )
                return getDefaultFlags(tc);
            int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
            flags |= type2.getFlag(NTLMSSP_NEGOTIATE_UNICODE) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM;
            return flags;
        }
    
    
        /**
         * Returns the LanManager/LMv2 response.
         *
         * @return A <code>byte[]</code> containing the LanManager response.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  4. cmd/metacache_gen.go

    		return
    	}
    	err = en.WriteTime(z.lastHandout)
    	if err != nil {
    		err = msgp.WrapError(err, "lastHandout")
    		return
    	}
    	// write "u"
    	err = en.Append(0xa1, 0x75)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.lastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "lastUpdate")
    		return
    	}
    	// write "b"
    	err = en.Append(0xa1, 0x62)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Endpoint)
    	if err != nil {
    		err = msgp.WrapError(err, "Endpoint")
    		return
    	}
    	// write "Token"
    	err = en.Append(0xa5, 0x54, 0x6f, 0x6b, 0x65, 0x6e)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Token)
    	if err != nil {
    		err = msgp.WrapError(err, "Token")
    		return
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

        /**
         * Gets the exceptions that occurred while building the dependency graph.
         *
         * @return the exceptions that occurred, never {@code null}
         */
        @Nonnull
        List<Exception> getExceptions();
    
        /**
         * Gets the root node of the dependency graph.
         *
         * @return the root node of the dependency graph or {@code null} if none
         */
        @Nullable
        Node getRoot();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

            Entry<?, ?> entry = (Entry<?, ?>) object;
            return multimap.containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
        public UnmodifiableIterator<Entry<K, V>> iterator() {
          return multimap.entryIterator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Platform.java

       * @param string the string to test and possibly return
       * @return {@code string} if it is not null; {@code ""} otherwise
       */
      static String nullToEmpty(@CheckForNull String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
       * @param string the string to test and possibly return
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

       */
      protected abstract List<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. internal/config/lambda/target/lazyinit.go

    	"sync/atomic"
    )
    
    // Inspired from Golang sync.Once but it is only marked
    // initialized when the provided function returns nil.
    
    type lazyInit struct {
    	done uint32
    	m    sync.Mutex
    }
    
    func (l *lazyInit) Do(f func() error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.doSlow(f)
    	}
    	return nil
    }
    
    func (l *lazyInit) doSlow(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top