Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for Dapper (0.2 sec)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

      }
    
      /**
       * Returns the corresponding primitive type if this is a wrapper type; otherwise returns {@code
       * this} itself. Idempotent.
       *
       * @since 15.0
       */
      public final TypeToken<T> unwrap() {
        if (isWrapper()) {
          @SuppressWarnings("unchecked") // this is a wrapper class
          Class<T> type = (Class<T>) runtimeType;
          return of(Primitives.unwrap(type));
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                if (session != null) {
                    try {
                        modelBuildingRequest.setRootDirectory(session.getRootDirectory());
                    } catch (IllegalStateException e) {
                        // can happen if root directory cannot be found, just ignore
                    }
                }
                */
    
                return modelBuildingRequest;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    					break
    				}
    				switch base(types[i]).(type) {
    				case *dwarf.IntType, *dwarf.UintType:
    					// This has an integer type so it's
    					// not really a floating point
    					// constant. This can happen when the
    					// C compiler complains about using
    					// the value as an integer constant,
    					// but not as a general constant.
    					// Treat this as a variable of the
    					// appropriate type, not a constant,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

       */
      abstract <T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException;
    
      /** Marks the given step final, cancels it, and waits for the cancellation to happen. */
      abstract void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture);
    
      /**
       * Marks the given step final and waits for it to fail. Expects the failure exception to match
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * coordinates.
         *
         * @param artifact the artifact to add or replace.
         * @deprecated Please use {@link MavenProjectHelper}
         * @throws DuplicateArtifactAttachmentException will never happen but leave it for backward compatibility
         */
        public void addAttachedArtifact(Artifact artifact) throws DuplicateArtifactAttachmentException {
            // if already there we remove it and add again
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

       */
      abstract <T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException;
    
      /** Marks the given step final, cancels it, and waits for the cancellation to happen. */
      abstract void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture);
    
      /**
       * Marks the given step final and waits for it to fail. Expects the failure exception to match
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      @Test
      fun responseBodyFailHttp() {
        responseBodyFail(Protocol.HTTP_1_1)
      }
    
      private fun responseBodyFail(expectedProtocol: Protocol?) {
        // Use a 2 MiB body so the disconnect won't happen until the client has read some data.
        val responseBodySize = 2 * 1024 * 1024 // 2 MiB
        server.enqueue(
          MockResponse.Builder()
            .body(Buffer().write(ByteArray(responseBodySize)))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  8. tests/query_test.go

    		t.Errorf("No error should returns, but got %v", err)
    	}
    
    	AssertEqual(t, p, p2)
    
    	if err := DB.First(&p, "id = ?", p2.ID).Error; err != nil {
    		t.Errorf("No error should happen when querying with customized type for primary key, got err %v", err)
    	}
    
    	AssertEqual(t, p, p2)
    }
    
    func TestStringPrimaryKeyForNumericValueStartingWithZero(t *testing.T) {
    	type AddressByZipCode struct {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                }
                return new SmbFile(this, name);
            }
            catch (
                MalformedURLException |
                UnknownHostException e ) {
                // this should not actually happen
                throw new SmbException("Failed to resolve child element", e);
            }
        }
    
    
        SmbFileHandleImpl openUnshared ( int flags, int access, int sharing, int attrs, int options ) throws CIFSException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    		t.Fatalf("Got error when tried to create index: %+v", err)
    	}
    
    	if err := DB.Migrator().RenameIndex(&IndexStruct{}, "idx_index_structs_name", "idx_users_name_1"); err != nil {
    		t.Fatalf("no error should happen when rename index, but got %v", err)
    	}
    
    	if !DB.Migrator().HasIndex(&IndexStruct{}, "idx_users_name_1") {
    		t.Fatalf("Should find index for user's name after rename")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top