Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5101 - 5110 of 7,804 for RETURN (0.04 seconds)

  1. src/test/resources/thumbnail/test_generate_thumbnail.sh

        if [[ "${actual_result}" -eq "${expected_result}" ]]; then
            echo -e "${GREEN}PASSED${NC}"
            ((TESTS_PASSED++))
            return 0
        else
            echo -e "${RED}FAILED${NC} (expected: ${expected_result}, got: ${actual_result})"
            ((TESTS_FAILED++))
            return 1
        fi
    }
    
    # Test function for checking file existence
    run_file_test() {
        local test_name="$1"
        local output_file="$2"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. logger/sql_test.go

    func (j JSON) Value() (driver.Value, error) {
    	if len(j) == 0 {
    		return nil, nil
    	}
    	return json.RawMessage(j).MarshalJSON()
    }
    
    type ExampleStruct struct {
    	Name string
    	Val  string
    }
    
    func (s ExampleStruct) Value() (driver.Value, error) {
    	return json.Marshal(s)
    }
    
    func format(v []byte, escaper string) string {
    	return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/lang/ModifierUtilTest.java

        /**
         *
         */
        public static class Hoge {
    
            /**
             *
             */
            public static final String s = null;
    
            /**
             * @return 何か
             */
            public static String hoge() {
                return "aaa";
            }
    
            /**
             *
             */
            public String aaa;
    
            /**
             *
             */
            public transient String bbb;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

            plexusContainer.getLoggerManager().setThresholds(toPlexusLoggingLevel(context.loggerLevel));
        }
    
        @Override
        public Lookup getLookup() {
            return lookup;
        }
    
        @Override
        public Optional<ClassLoader> currentThreadClassLoader() {
            return Optional.of(plexusContainer.getContainerRealm());
        }
    
        @Override
        public void close() {
            try {
                plexusContainer.dispose();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 14:09:05 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            }
    
            @Override
            public long process() {
                executionOrder.add(priority);
                return returnValue;
            }
    
            public static List<Integer> getExecutionOrder() {
                return executionOrder;
            }
    
            public static void clearExecutionOrder() {
                executionOrder.clear();
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

      private var serverSocket: ServerSocket? = null
      private var socket: Socket? = null
    
      fun setClient(client: Boolean) {
        if (this.client == client) return
        this.client = client
        writer = Http2Writer(bytesOut, client)
      }
    
      fun acceptFrame() {
        frameCount++
      }
    
      /** Maximum length of an outbound data frame.  */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      private void expectReturnsTrue(Target target) {
        String message = Platform.format("retainAll(%s) should return true", target);
        assertTrue(message, collection.retainAll(target.toRetain));
      }
    
      private void expectReturnsFalse(Target target) {
        String message = Platform.format("retainAll(%s) should return false", target);
        assertFalse(message, collection.retainAll(target.toRetain));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        static <V> NonListenableSettableFuture<V> create() {
          return new NonListenableSettableFuture<V>();
        }
    
        final SettableFuture<V> delegate = SettableFuture.create();
    
        @Override
        protected Future<V> delegate() {
          return delegate;
        }
    
        void set(V value) {
          delegate.set(value);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @param tc the CIFS context
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName(final String host, final CIFSContext tc) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
        synchronized NbtAddress getByName(final Name name, final CIFSContext tc) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. schema/naming_test.go

    }
    
    func (r CustomReplacer) Replace(name string) string {
    	return r.f(name)
    }
    
    func TestCustomReplacer(t *testing.T) {
    	ns := NamingStrategy{
    		TablePrefix:   "public.",
    		SingularTable: true,
    		NameReplacer: CustomReplacer{
    			func(name string) string {
    				replaced := "REPLACED_" + strings.ToUpper(name)
    				return strings.NewReplacer("CID", "_Cid").Replace(replaced)
    			},
    		},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue May 30 02:00:48 GMT 2023
    - 7K bytes
    - Click Count (0)
Back to Top