Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1251 - 1260 of 6,799 for _return (0.06 sec)

  1. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertEquals(expectedBytes / chunkSize, processCalled);
          assertEquals(expectedBytes % chunkSize != 0, remainingCalled);
        }
    
        // returns the minimum x such as x >= a && (x % b) == 0
        private static int ceilToMultiple(int a, int b) {
          int remainder = a % b;
          return remainder == 0 ? a : a + b - remainder;
        }
    
        void assertBytes(byte[] expected) {
          byte[] got = out.toByteArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Predicate.java

      /**
       * Indicates whether another object is equal to this predicate.
       *
       * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
       * However, an implementation may also choose to return {@code true} whenever {@code object} is a
       * {@link Predicate} that it considers <i>interchangeable</i> with this one. "Interchangeable"
       * <i>typically</i> means that {@code this.apply(t) == that.apply(t)} for all {@code t} of type
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    }
    
    var bufreaders = []bufReader{
    	{"1", func(b *Reader) string { return reads(b, 1) }},
    	{"2", func(b *Reader) string { return reads(b, 2) }},
    	{"3", func(b *Reader) string { return reads(b, 3) }},
    	{"4", func(b *Reader) string { return reads(b, 4) }},
    	{"5", func(b *Reader) string { return reads(b, 5) }},
    	{"7", func(b *Reader) string { return reads(b, 7) }},
    	{"bytes", readBytes},
    	{"lines", readLines},
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                populateRequest(cliRequest);
                encryption(cliRequest);
                return execute(cliRequest);
            } catch (ExitException e) {
                return e.exitCode;
            } catch (UnrecognizedOptionException e) {
                // pure user error, suppress stack trace
                return 1;
            } catch (BuildAbort e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ValueGraph.java

      /**
       * Returns the value of the edge that connects {@code nodeU} to {@code nodeV} (in the order, if
       * any, specified by {@code endpoints}), if one is present; otherwise, returns {@code
       * Optional.empty()}.
       *
       * @throws IllegalArgumentException if {@code nodeU} or {@code nodeV} is not an element of this
       *     graph
       * @since 23.0 (since 20.0 with return type {@code V})
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. tests/gorm_test.go

    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. src/bytes/boundary_test.go

    	if err != nil {
    		t.Fatalf("mprotect low failed %s\n", err)
    	}
    	err = syscall.Mprotect(b[2*pagesize:], syscall.PROT_NONE)
    	if err != nil {
    		t.Fatalf("mprotect high failed %s\n", err)
    	}
    	return b[pagesize : 2*pagesize]
    }
    
    func TestEqualNearPageBoundary(t *testing.T) {
    	t.Parallel()
    	b := dangerousSlice(t)
    	for i := range b {
    		b[i] = 'A'
    	}
    	for i := 0; i <= len(b); i++ {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 30 20:05:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/get-current-user.md

    ///
    
    /// check
    
    The way this dependency system is designed allows us to have different dependencies (different "dependables") that all return a `User` model.
    
    We are not restricted to having only one dependency that can return that type of data.
    
    ///
    
    ## Other models
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        return classInfo(cls, cls.getClassLoader());
      }
    
      private static ClassInfo classInfo(Class<?> cls, ClassLoader classLoader) {
        String resource = cls.getName().replace('.', '/') + ".class";
        return new ClassInfo(FILE, resource, classLoader);
      }
    
      private static Manifest manifestClasspath(String classpath) throws IOException {
        return manifest("Class-Path: " + classpath + "\n");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. cmd/bucket-metadata_gen.go

    				return
    			}
    		case "BucketTargetsConfigMetaUpdatedAt":
    			z.BucketTargetsConfigMetaUpdatedAt, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "BucketTargetsConfigMetaUpdatedAt")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top