Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 579 for gate (0.02 seconds)

  1. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            return switch (o) {
            case null -> null;
            case Long l -> l;
            case Number n -> n.longValue();
            case String s -> toLong(s);
            case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime();
            case Boolean b -> b ? 1L : 0L;
            default -> toLong(o.toString());
            };
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.com;
    
    import java.util.Date;
    
    import jcifs.Configuration;
    import jcifs.internal.SmbBasicFileInfo;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/extra-data-types.md

    * `datetime.datetime`:
        * Un `datetime.datetime` de Python.
        * En requests y responses se representará como un `str` en formato ISO 8601, como: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
        * `datetime.date` de Python.
        * En requests y responses se representará como un `str` en formato ISO 8601, como: `2008-09-15`.
    * `datetime.time`:
        * Un `datetime.time` de Python.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. buildscripts/test-timeout.sh

    	echo "random line 1"
    	echo ""
    	echo ""
    }
    
    function send_put_object_request() {
    	hdr_timeout=$1
    	body_timeout=$2
    
    	start=$(date +%s)
    	timeout 5m bash -c "gen_put_request $hdr_timeout $body_timeout | netcat 127.0.0.1 $start_port | read" || return -1
    	[ $(($(date +%s) - start)) -gt $((srv_hdr_timeout + srv_idle_timeout + 1)) ] && return -1
    	return 0
    }
    
    function test_minio_with_timeout() {
    	start_port=$1
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/EncdecTest.java

                Encdec.dec_uint32le(smallBuffer, 0);
            });
        }
    
        @Test
        @DisplayName("Should handle time encoding/decoding")
        void testTimeOperations() {
            // Given
            Date currentDate = new Date();
            byte[] buffer = new byte[8];
    
            // When - Use direct encoding methods since time constants are private
            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/beans/util/MyBean2.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.util;
    
    import java.util.Date;
    
    /**
     * @author higa
     */
    public class MyBean2 {
    
        /**
         *
         */
        public Date aaa;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 779 bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ForwardingCondition.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Date;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.Condition;
    
    /** Forwarding wrapper around a {@code Condition}. */
    @SuppressWarnings("WaitNotInLoop") // We are just delegating; _our user_ must loop.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 24 18:55:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Date;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the SmbComQueryInformationResponse class.
     */
    public class SmbComQueryInformationResponseTest {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersion.kt

    package gradlebuild.identity.model
    
    import org.gradle.util.GradleVersion
    
    import java.text.SimpleDateFormat
    import java.util.Date
    import java.util.TimeZone
    
    
    data class ReleasedVersion(val version: String, val buildTime: String) {
        fun gradleVersion() = GradleVersion.version(version)
        fun buildTimeStamp(): Date = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") }.parse(buildTime)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println("Server: " + response.header("Server"));
          System.out.println("Date: " + response.header("Date"));
          System.out.println("Vary: " + response.headers("Vary"));
        }
      }
    
      public static void main(String... args) throws Exception {
        new AccessHeaders().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.6K bytes
    - Click Count (0)
Back to Top