Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 305 for stripCR (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

            token == null -> {
              // Value is "double-quoted". That's valid and our regex group already strips the quotes.
              parameter.groups[3]!!.value
            }
            token.startsWith("'") && token.endsWith("'") && token.length > 2 -> {
              // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes.
              token.substring(1, token.length - 1)
            }
            else -> token
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/internal/chacha8rand/chacha8_amd64.s

    	MOVL $val, DX; \
    	REPLREG(DX, XR)
    
    // SEED copies the off'th uint32 of the seed into the register XR,
    // replicating it into all four stripes of the register.
    #define SEED(off, reg, XR) \
    	MOVL (4*off)(AX), reg; \
    	REPLREG(reg, XR) \
    
    // block runs 4 ChaCha8 block transformations in the four stripes of the X registers.
    
    // func block(seed *[8]uint32, blocks *[16][4]uint32, counter uint32)
    TEXT ·block<ABIInternal>(SB), NOSPLIT, $16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/StripSymbols.java

    import org.gradle.nativeplatform.toolchain.internal.NativeToolChainInternal;
    import org.gradle.nativeplatform.toolchain.internal.PlatformToolProvider;
    import org.gradle.work.DisableCachingByDefault;
    
    /**
     * Strips the debug symbols from a binary
     *
     * @since 4.5
     */
    @DisableCachingByDefault(because = "Not made cacheable, yet")
    public abstract class StripSymbols extends DefaultTask {
        private final RegularFileProperty binaryFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/nodes_test.go

    	)
    }
    
    func testPos(t *testing.T, list []test, prefix, suffix string, extract func(*File) Node) {
    	for _, test := range list {
    		// complete source, compute @ position, and strip @ from source
    		src, index := stripAt(prefix + test.snippet + suffix)
    		if index < 0 {
    			t.Errorf("missing @: %s (%s)", src, test.nodetyp)
    			continue
    		}
    
    		// build syntax tree
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ProducerGuard.java

                        producing.notifyAll();
                    }
                }
            }
        }
    
        private static class StripedProducerGuard<T> extends ProducerGuard<T> {
            private final Striped<Lock> locks = Striped.lock(Runtime.getRuntime().availableProcessors() * 4);
    
            @Override
            public <V> V guardByKey(T key, Supplier<V> supplier) {
                Lock lock = locks.get(key);
                lock.lock();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:31 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ProducerGuardTest.groovy

                            }
                        })
                    }
                }
            }
    
            then:
            calls.get() == 100
    
            where:
            guard << [ProducerGuard.serial(), ProducerGuard.striped(), ProducerGuard.adaptive()]
        }
    
        def "does not call factories with the same key concurrently"() {
            def concurrentCalls = new AtomicInteger()
    
            when:
            async {
                100.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/composite-builds/hierarchical-multirepo/kotlin/modules/string-utils/src/main/java/org/sample/stringutils/Strings.java

    package org.sample.stringutils;
    
    import org.apache.commons.lang3.StringUtils;
    
    public class Strings {
       public static String concat(Object left, Object right) {
         return strip(left) + " " + strip(right);
       }
    
       private static String strip(Object val) {
         return StringUtils.strip(String.valueOf(val));
       }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 318 bytes
    - Viewed (0)
  8. src/encoding/ascii85/ascii85_test.go

    		buf = buf[0:n]
    		testEqual(t, "Encode(%q) = %q, want %q", p.decoded, strip85(string(buf)), strip85(p.encoded))
    	}
    }
    
    func TestEncoder(t *testing.T) {
    	for _, p := range pairs {
    		bb := &strings.Builder{}
    		encoder := NewEncoder(bb)
    		encoder.Write([]byte(p.decoded))
    		encoder.Close()
    		testEqual(t, "Encode(%q) = %q, want %q", p.decoded, strip85(bb.String()), strip85(p.encoded))
    	}
    }
    
    func TestEncoderBuffering(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:46:20 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/simple.mlir

    // CHECK-NEXT:       name: "input",
    // STRIP:            buffer: 1,
    // STRIP-NEXT:       name: "input",
    // CHECK-NEXT:       quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       },
    // CHECK-NEXT:       has_rank: true
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       shape: [ 3, 2 ],
    // CHECK-NEXT:       type: INT32,
    // CHECK-NEXT:       buffer: 2,
    // CHECK-NEXT:       name: "Const",
    // STRIP:            buffer: 2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/simple_with_unconnected_control_nodes.mlir

    // CHECK-NEXT:       name: "input",
    // STRIP:            buffer: 1,
    // STRIP-NEXT:       name: "input",
    // CHECK-NEXT:       quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       },
    // CHECK-NEXT:       has_rank: true
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       shape: [ 3, 2 ],
    // CHECK-NEXT:       type: INT32,
    // CHECK-NEXT:       buffer: 2,
    // CHECK-NEXT:       name: "Const",
    // STRIP:            buffer: 2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 17 13:32:53 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top