Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 293 for setRate (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

      }
    
      @Test fun setDate() {
        val expected = Date(1000)
        val headers =
          Headers
            .Builder()
            .add("testDate", Date(0L))
            .set("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(expected)
      }
    
      @Test fun setInstant() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/transport/TransportTest.java

                for (int state : disconnectedStates) {
                    transport.setState(state);
                    assertTrue(transport.isDisconnected(), "State " + state + " should be disconnected");
                }
    
                for (int state : connectedStates) {
                    transport.setState(state);
                    assertFalse(transport.isDisconnected(), "State " + state + " should not be disconnected");
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            registration.setState(WitnessRegistrationState.REGISTERED);
            assertEquals(WitnessRegistrationState.REGISTERED, registration.getState());
    
            registration.setState(WitnessRegistrationState.UNREGISTERING);
            assertEquals(WitnessRegistrationState.UNREGISTERING, registration.getState());
    
            registration.setState(WitnessRegistrationState.FAILED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CookieConfig.java

     * and 5.x clients.</p>
     *
     * <p>Example usage:</p>
     * <pre>{@code
     * CookieConfig config = new CookieConfig();
     * config.setName("sessionId");
     * config.setValue("abc123");
     * config.setDomain("example.com");
     * config.setPath("/");
     * config.setSecure(true);
     * }</pre>
     */
    public class CookieConfig {
    
        private String name;
        private String value;
        private String domain;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  5. architecture/build-state-model.md

    The build state is managed by the `BuildState` class.
    An instance is created for each build in the build definition, once per build execution and is discarded at the end of the execution. 
    
    The build state also includes what is currently called the "Gradle state". The Gradle state is being merged into the build state and is mostly empty.
    
    ### Project state
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 22 13:39:49 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. src/main/webapp/js/admin/plugins/form-validator/date.js

    h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.addValidator({name:"time",validatorFunction:function(a){if(null===a.match(/^(\d{2}):(\d{2})$/))return!1;var b=parseInt(a.split(":")[0],10),c=parseInt(a.split(":")[1],...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.6K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/lex/stack.go

    }
    
    func (s *Stack) File() string {
    	return s.Base().Filename()
    }
    
    func (s *Stack) Base() *src.PosBase {
    	return s.tr[len(s.tr)-1].Base()
    }
    
    func (s *Stack) SetBase(base *src.PosBase) {
    	s.tr[len(s.tr)-1].SetBase(base)
    }
    
    func (s *Stack) Line() int {
    	return s.tr[len(s.tr)-1].Line()
    }
    
    func (s *Stack) Col() int {
    	return s.tr[len(s.tr)-1].Col()
    }
    
    func (s *Stack) Close() { // Unused.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jan 09 22:33:23 GMT 2017
    - 1.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

        @Test
        void testZeroScoreChannels() {
            loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM);
    
            // Create channels with zero scores (failed state)
            channel1.setState(ChannelState.FAILED);
            channel2.setState(ChannelState.FAILED);
    
            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

            Metadata result = new Metadata();
            Plugin plugin = new Plugin();
            plugin.setPrefix(pluginInfo.goalPrefix);
            plugin.setArtifactId(pluginInfo.artifactId);
            plugin.setName(pluginInfo.name);
            result.getPlugins().add(plugin);
            return result;
        }
    
        @Override
        protected void merge(Metadata recessive) {
            List<Plugin> recessivePlugins = recessive.getPlugins();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/witness/WitnessRegistration.java

        /**
         * Gets the registration state.
         *
         * @return the current registration state
         */
        public WitnessRegistrationState getState() {
            return state;
        }
    
        /**
         * Sets the registration state.
         *
         * @param state the new registration state
         */
        public void setState(WitnessRegistrationState state) {
            this.state = state;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top