Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 499 for Point (0.02 sec)

  1. tests/scanner_valuer_test.go

    }
    
    type NullString struct {
    	sql.NullString
    }
    
    type Point struct {
    	X, Y int
    }
    
    func (point Point) GormDataType() string {
    	return "geo"
    }
    
    func (point Point) GormValue(ctx context.Context, db *gorm.DB) clause.Expr {
    	return clause.Expr{
    		SQL:  "ST_PointFromText(?)",
    		Vars: []interface{}{fmt.Sprintf("POINT(%d %d)", point.X, point.Y)},
    	}
    }
    
    func TestGORMValuer(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

      }
    
      @Test fun `point with only x set`() {
        val bytes = "3003800109".decodeHex()
        val point = Point(9L, null)
        assertThat(Point.ADAPTER.fromDer(bytes)).isEqualTo(point)
        assertThat(Point.ADAPTER.toDer(point)).isEqualTo(bytes)
      }
    
      @Test fun `point with only y set`() {
        val bytes = "3003810109".decodeHex()
        val point = Point(null, 9L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      private final char[][] replacements;
      // The number of elements in the replacement array.
      private final int replacementsLength;
      // The first code point in the safe range.
      private final int safeMin;
      // The last code point in the safe range.
      private final int safeMax;
    
      // Cropped values used in the fast path range checks.
      private final char safeMinChar;
      private final char safeMaxChar;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                        final String key = e.getKey();
                        for (final String geoField : geoFields) {
                            if (key.startsWith("geo." + geoField + ".")) {
                                final String distanceKey = key.replaceFirst(".point$", ".distance");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

        }
    
        public void test_34_150_10_2() {
            MockletHttpServletRequest request = getMockRequest();
            request.setParameter("geo.location.1.point", "34,150");
            request.setParameter("geo.location.1.distance", "10km");
            request.setParameter("geo.location.2.point", "35,151");
            request.setParameter("geo.location.2.distance", "1km");
    
            final GeoInfo geoInfo = new GeoInfo(request);
            String result =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // Examples:
    //
    // - 1.5 will be serialized as "1500m"
    // - 1.5Gi will be serialized as "1536Mi"
    //
    // Note that the quantity will NEVER be internally represented by a
    // floating point number. That is the whole point of this exercise.
    //
    // Non-canonical values will still parse as long as they are well formed,
    // but will be re-emitted in their canonical form. (So always use canonical
    // form, or don't diff.)
    //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/UnicodeEscaper.java

      /** Constructor for use by subclasses. */
      protected UnicodeEscaper() {}
    
      /**
       * Returns the escaped form of the given Unicode code point, or {@code null} if this code point
       * does not need to be escaped. When called as part of an escaping operation, the given code point
       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbTransportPool.java

         * See also the <tt>jcifs.smb.client.logonShare</tt> property.
         * 
         * @param dc
         * @param tc
         * @throws CIFSException
         * @deprecated functionality is broken and will be removed at some point,
         *             use actual Active Directory authentication instead
         */
        @Deprecated
        void logon ( CIFSContext tc, Address dc ) throws CIFSException;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // `proto` must point to an array of `proto_len` bytes representing a
    // binary-serialized TensorShapeProto.
    TF_CAPI_EXPORT extern void TF_SetAttrTensorShapeProto(
        TF_OperationDescription* desc, const char* attr_name, const void* proto,
        size_t proto_len, TF_Status* status);
    // `protos` and `proto_lens` must point to arrays of length `num_shapes`.
    // `protos[i]` must point to an array of `proto_lens[i]` bytes
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top