Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 262 for clears (0.06 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        return this
      }
    
      /** Clears the results for `hostname`.  */
      fun clear(hostname: String): FakeDns {
        hostAddresses.remove(hostname)
        return this
      }
    
      @Throws(UnknownHostException::class)
      fun lookup(
        hostname: String,
        index: Int,
      ): InetAddress {
        return hostAddresses[hostname]!![index]
      }
    
      @Throws(UnknownHostException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            return ( getFlags() & flag ) != 0;
        }
    
    
        /**
         * Sets or clears the specified flag.
         * 
         * @param flag
         *            The flag to set/clear (i.e.,
         *            <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @param value
         *            Indicates whether to set (<code>true</code>) or
         *            clear (<code>false</code>) the specified flag.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

        public boolean getFlag(int flag) {
            return (getFlags() & flag) != 0;
        }
    
        /**
         * Sets or clears the specified flag.
         * 
         * @param flag The flag to set/clear (i.e.,
         * <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @param value Indicates whether to set (<code>true</code>) or
         * clear (<code>false</code>) the specified flag.
         */
        public void setFlag(int flag, boolean value) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/internal/Finalizer.java

     * you want to throw away the class loader. For example, dynamically reloading a web application or
     * unloading an OSGi bundle.
     *
     * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own class
     * loader. That way, this class doesn't prevent the main class loader from getting garbage
     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 23 12:54:09 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. src/clean.bash

    set -e
    
    if [ ! -f run.bash ]; then
    	echo 'clean.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    export GOROOT="$(cd .. && pwd)"
    
    gobin="${GOROOT}"/bin
    if ! "$gobin"/go help >/dev/null 2>&1; then
    	echo 'cannot find go command; nothing to clean' >&2
    	exit 1
    fi
    
    "$gobin/go" clean -i std
    "$gobin/go" tool dist clean
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Feb 26 21:54:09 UTC 2020
    - 518 bytes
    - Viewed (0)
  6. src/clean.bat

    >env.bat
    L12:if errorlevel 1 goto fail
    L13:call .\env.bat
    L14:del env.bat
    L15:echo.
    L16:
    L17:if exist %GOTOOLDIR%\dist.exe goto distok
    L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean
    L19:goto fail
    L20::distok
    L21:
    L22:"%GOBIN%\go" clean -i std
    L23:"%GOBIN%\go" tool dist clean
    L24:"%GOBIN%\go" clean -i cmd
    L25:
    L26:goto end
    L27:
    L28::fail
    L29:set GOBUILDFAIL=1
    L30:
    L31::end
    L32:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 12 16:59:17 UTC 2022
    - 600 bytes
    - Viewed (0)
  7. src/clean.rc

    # license that can be found in the LICENSE file.
    
    eval `{go tool dist env -9}
    
    if(! test -x $GOTOOLDIR/dist){
    	echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >[1=2]
    	exit noclean
    }
    
    $GOBIN/go clean -i std
    $GOBIN/go tool dist clean
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jun 18 16:13:13 UTC 2015
    - 380 bytes
    - Viewed (0)
  8. tests/named_polymorphic_test.go

    	}
    
    	DB.Model(&hamster).Association("PreferredToy").Clear()
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 0 {
    		t.Errorf("Hamster's preferred toy should be cleared with Clear")
    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's other toy should be still available")
    	}
    
    	DB.Model(&hamster).Association("OtherToy").Clear()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/MapIteratorCache.java

      }
    
      @CanIgnoreReturnValue
      @CheckForNull
      final V remove(Object key) {
        checkNotNull(key);
        clearCache();
        return backingMap.remove(key);
      }
    
      final void clear() {
        clearCache();
        backingMap.clear();
      }
    
      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
        V value = getIfCached(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top