Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,535 for results (0.05 sec)

  1. tests/scopes_test.go

    	if db.Find(&User{}).Statement.Table != "custom_table" {
    		t.Errorf("failed to call Scopes")
    	}
    
    	result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB {
    		return tx.Session(&gorm.Session{})
    	}).Find(&users1)
    
    	if result.RowsAffected != 2 {
    		t.Errorf("Should found two users's name in 1, 2, but got %v", result.RowsAffected)
    	}
    
    	var maxId int64
    	userTable := func(db *gorm.DB) *gorm.DB {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            var infoField = Smb2QueryInfoResponse.class.getDeclaredField("info");
            infoField.setAccessible(true);
            infoField.set(response, fileInfo);
    
            FileInternalInfo result = response.getInfo(FileInternalInfo.class);
            assertEquals(fileInfo, result);
        }
    
        @Test
        @DisplayName("Test getInfo with class type - incompatible class throws exception")
        void testGetInfoWithClassIncompatible() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

      /** Returns an immutable case-insensitive set of header names. */
      fun names(): Set<String> {
        val result = TreeSet(String.CASE_INSENSITIVE_ORDER)
        for (i in 0 until size) {
          result.add(name(i))
        }
        return result.unmodifiable()
      }
    
      /** Returns an immutable list of the header values for `name`. */
      fun values(name: String): List<String> = commonValues(name)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

        // put it back together
        String result = Joiner.on('/').join(path);
        if (pathname.charAt(0) == '/') {
          result = "/" + result;
        }
    
        while (result.startsWith("/../")) {
          result = result.substring(3);
        }
        if (result.equals("/..")) {
          result = "/";
        } else if (result.isEmpty()) {
          result = ".";
        }
    
        return result;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

        }
    
        return true
      }
    
      override fun hashCode(): Int {
        var result = 17
        if (isTls) {
          result = 31 * result + (cipherSuitesAsString?.contentHashCode() ?: 0)
          result = 31 * result + (tlsVersionsAsString?.contentHashCode() ?: 0)
          result = 31 * result + if (supportsTlsExtensions) 0 else 1
        }
        return result
      }
    
      override fun toString(): String {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       */
      fun newBuilder(): Builder {
        val result = Builder()
        result.scheme = scheme
        result.encodedUsername = encodedUsername
        result.encodedPassword = encodedPassword
        result.host = host
        // If we're set to a default port, unset it in case of a scheme change.
        result.port = if (port != defaultPort(scheme)) port else -1
        result.encodedPathSegments.clear()
        result.encodedPathSegments.addAll(encodedPathSegments)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

        other is Challenge &&
          other.scheme == scheme &&
          other.authParams == authParams
    
      override fun hashCode(): Int {
        var result = 29
        result = 31 * result + scheme.hashCode()
        result = 31 * result + authParams.hashCode()
        return result
      }
    
      override fun toString(): String = "$scheme authParams=$authParams"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:01:35 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

         * In this case though, the result contains simply the (parsed) input version, regardless of the
         * repositories and their contents.
         *
         * @param session the session to use
         * @param artifactCoordinates t
         * @return the version range resolution result
         * @throws VersionResolverException if an errors occurs
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // When
                String result = fileFsFullSizeInfo.toString();
    
                // Then
                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation"));
                assertTrue(result.contains("alloc=0"));
                assertTrue(result.contains("free=0"));
                assertTrue(result.contains("sectPerAlloc=0"));
                assertTrue(result.contains("bytesPerSect=0"));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            } catch (CyclicDependencyException e) {
                result.addCircularDependencyException(e);
    
                return result;
            } catch (OverConstrainedVersionException e) {
                result.addVersionRangeViolation(e);
    
                return result;
            }
    
            ManagedVersionMap versionMap = getManagedVersionsMap(originatingArtifact, managedVersions);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top